mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-08-01 22:59:53 +00:00
✨ 更新marsho函数以处理tool_calls,优化函数调用参数,添加占位符参数以兼容部分模型(如GLM)
This commit is contained in:
@ -95,6 +95,7 @@ async def make_chat(
|
||||
messages=msg,
|
||||
model=model_name,
|
||||
tools=tools,
|
||||
tool_choice="auto",
|
||||
temperature=config.marshoai_temperature,
|
||||
max_tokens=config.marshoai_max_tokens,
|
||||
top_p=config.marshoai_top_p,
|
||||
|
Reference in New Issue
Block a user