diff --git a/backend/agent/tools/message_tool.py b/backend/agent/tools/message_tool.py index 1a2f4900..6c216cab 100644 --- a/backend/agent/tools/message_tool.py +++ b/backend/agent/tools/message_tool.py @@ -18,7 +18,7 @@ class MessageTool(Tool): "type": "function", "function": { "name": "ask", - "description": "Ask user a question and wait for response. Use for: 1) Requesting clarification on ambiguous requirements, 2) Seeking confirmation before proceeding with high-impact changes, 3) Gathering additional information needed to complete a task, 4) Offering options and requesting user preference, 5) Validating assumptions when critical to task success. IMPORTANT: Use this tool only when user input is essential to proceed. Always provide clear context and options when applicable. Include relevant attachments when the question relates to specific files or resources.", + "description": "Ask user a question and wait for response. Use for: 1) Requesting clarification on ambiguous requirements, 2) Seeking confirmation before proceeding with high-impact changes, 3) Gathering additional information needed to complete a task, 4) Offering options and requesting user preference, 5) Validating assumptions when critical to task success, 6) Call this tool when you finish your task, before calling the complete tool. IMPORTANT: Use this tool only when user input is essential to proceed. Always provide clear context and options when applicable. Include relevant attachments when the question relates to specific files or resources.", "parameters": { "type": "object", "properties": { diff --git a/backend/services/llm.py b/backend/services/llm.py index 7045294c..794d3de1 100644 --- a/backend/services/llm.py +++ b/backend/services/llm.py @@ -236,7 +236,7 @@ def prepare_params( if is_kimi_k2: params["provider"] = { - "order": ["groq", "together/fp8"] + "order": ["groq", "baseten/fp8", "deepinfra/fp4", "together/fp8"] } if is_anthropic and use_thinking: