You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。另外请按照如下要求提交相关信息节省社区维护同学的理解成本,否则该讨论极有可能直接被忽视或关闭。
We recommend using English. If you are non-native English speaker, you can use the translation software. We recommend using English. If you are non-native English speaker, you can use the translation software. In addition, please submit relevant information according to the following requirements to save the understanding cost of community maintenances, otherwise the discussion is very likely to be ignored or closed directly.
Which Component
DashScopeChatOptions
Describe the bug
LLM didn't recieve tool call descriptions with dashscope, same code is ok with open ai.
The root cause is DashScopeChatOptions bean missed a field toolCallbacks
DashScope just copyToTarget use ChatOptions
/** * Collection of {@link ToolCallback}s to be used for tool calling in the chat completion requests. */@JsonIgnoreprivateList<FunctionCallback> toolCallbacks = newArrayList<>();
open ai use ToolCallingChatOptions as source class and works fine.
我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。另外请按照如下要求提交相关信息节省社区维护同学的理解成本,否则该讨论极有可能直接被忽视或关闭。
We recommend using English. If you are non-native English speaker, you can use the translation software. We recommend using English. If you are non-native English speaker, you can use the translation software. In addition, please submit relevant information according to the following requirements to save the understanding cost of community maintenances, otherwise the discussion is very likely to be ignored or closed directly.
Which Component
DashScopeChatOptions
Describe the bug
LLM didn't recieve tool call descriptions with dashscope, same code is ok with open ai.
The root cause is DashScopeChatOptions bean missed a field
toolCallbacks
DashScope just copyToTarget use ChatOptions
OpenAiChatOptions has toolCallbacks
open ai use ToolCallingChatOptions as source class and works fine.
Simplest demo
To Reproduce
Expected behavior
pass tool info correctly
Screenshots
The text was updated successfully, but these errors were encountered: