From 7f69233f71308580b5e9ab00ddec36186878343b Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Mon, 16 Feb 2026 19:28:33 -0700 Subject: [PATCH] Improve default behavior --- frigate/api/chat.py | 6 +++--- web/src/pages/Chat.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frigate/api/chat.py b/frigate/api/chat.py index 0469a04d6..04de189fb 100644 --- a/frigate/api/chat.py +++ b/frigate/api/chat.py @@ -126,8 +126,8 @@ def get_tool_definitions() -> List[Dict[str, Any]]: }, "limit": { "type": "integer", - "description": "Maximum number of objects to return (default: 10).", - "default": 10, + "description": "Maximum number of objects to return (default: 25).", + "default": 25, }, }, }, @@ -222,7 +222,7 @@ async def _execute_search_objects( zone=zones, after=after, before=before, - limit=arguments.get("limit", 10), + limit=arguments.get("limit", 25), ) try: diff --git a/web/src/pages/Chat.tsx b/web/src/pages/Chat.tsx index 37fdd6450..8900e3a27 100644 --- a/web/src/pages/Chat.tsx +++ b/web/src/pages/Chat.tsx @@ -164,7 +164,7 @@ export default function ChatPage() { return (
-
+
{messages.map((msg, i) => (
{msg.role === "assistant" && msg.toolCalls && (