🐛 移除make_chat函数中的tool_choice参数以简化函数调用

This commit is contained in:
Asankilp 2024-12-29 16:33:25 +08:00
parent 9ff8beb4d9
commit c8dd126042

View File

@ -95,7 +95,6 @@ async def make_chat(
messages=msg, messages=msg,
model=model_name, model=model_name,
tools=tools, tools=tools,
tool_choice="auto",
temperature=config.marshoai_temperature, temperature=config.marshoai_temperature,
max_tokens=config.marshoai_max_tokens, max_tokens=config.marshoai_max_tokens,
top_p=config.marshoai_top_p, top_p=config.marshoai_top_p,