mirror of https://github.com/kortix-ai/suna.git
wip
This commit is contained in:
parent
1b9553b865
commit
dc1c19e5db
|
@ -153,7 +153,7 @@ async def run_agent(thread_id: str, project_id: str, stream: bool = True, thread
|
|||
stream=stream,
|
||||
llm_model=model_name,
|
||||
llm_temperature=0,
|
||||
llm_max_tokens=1280000,
|
||||
llm_max_tokens=128000,
|
||||
tool_choice="auto",
|
||||
max_xml_tool_calls=1,
|
||||
temporary_message=temporary_message,
|
||||
|
|
|
@ -1236,7 +1236,7 @@ class ResponseProcessor:
|
|||
# Always use xml_tag_name if it exists
|
||||
if "xml_tag_name" in tool_call:
|
||||
xml_tag_name = tool_call["xml_tag_name"]
|
||||
return f"<tool_result><{xml_tag_name}> {str(result)} </{xml_tag_name}></tool_result>"
|
||||
return f"<tool_result> <{xml_tag_name}> {str(result)} </{xml_tag_name}>< /tool_result>"
|
||||
|
||||
# Non-XML tool, just return the function result
|
||||
function_name = tool_call["function_name"]
|
||||
|
|
Loading…
Reference in New Issue