mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-02-07 21:46:10 +08:00
🐛 移除make_chat函数中的tool_choice参数以简化函数调用
This commit is contained in:
parent
9ff8beb4d9
commit
c8dd126042
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user