mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-12 19:37:35 +03:00
Improve default behavior
This commit is contained in:
parent
dddacbbcc5
commit
66fc8fc4c7
@ -126,8 +126,8 @@ def get_tool_definitions() -> List[Dict[str, Any]]:
|
|||||||
},
|
},
|
||||||
"limit": {
|
"limit": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "Maximum number of objects to return (default: 10).",
|
"description": "Maximum number of objects to return (default: 25).",
|
||||||
"default": 10,
|
"default": 25,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -222,7 +222,7 @@ async def _execute_search_objects(
|
|||||||
zone=zones,
|
zone=zones,
|
||||||
after=after,
|
after=after,
|
||||||
before=before,
|
before=before,
|
||||||
limit=arguments.get("limit", 10),
|
limit=arguments.get("limit", 25),
|
||||||
)
|
)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
@ -164,7 +164,7 @@ export default function ChatPage() {
|
|||||||
return (
|
return (
|
||||||
<div className="flex size-full justify-center p-2">
|
<div className="flex size-full justify-center p-2">
|
||||||
<div className="flex size-full flex-col xl:w-[50%] 3xl:w-[35%]">
|
<div className="flex size-full flex-col xl:w-[50%] 3xl:w-[35%]">
|
||||||
<div className="flex min-h-0 w-full flex-1 flex-col gap-2 overflow-y-auto">
|
<div className="scrollbar-container flex min-h-0 w-full flex-1 flex-col gap-2 overflow-y-auto">
|
||||||
{messages.map((msg, i) => (
|
{messages.map((msg, i) => (
|
||||||
<div key={i} className="flex flex-col gap-2">
|
<div key={i} className="flex flex-col gap-2">
|
||||||
{msg.role === "assistant" && msg.toolCalls && (
|
{msg.role === "assistant" && msg.toolCalls && (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user