mirror of https://github.com/kortix-ai/suna.git
enhance(message_tool): update ask function description to include task completion instruction and expand usage scenarios
This commit is contained in:
parent
ee55402404
commit
37a3751bbf
|
@ -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": {
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue