fix: extract node can not extract when using tool-calling-able model. (#5555)

This commit is contained in:
Finley Ge
2025-08-28 18:09:33 +08:00
committed by GitHub
parent 8e77060f9c
commit 486d791b94

View File

@@ -248,8 +248,10 @@ const toolChoice = async (props: ActionProps) => {
temperature: 0.01,
messages: filterMessages,
tools,
tool_choice: { type: 'function', function: { name: agentFunName } }
tool_choice: { type: 'function', function: { name: agentFunName } },
toolCallMode: 'toolChoice'
} as const;
const {
answerText: text,
toolCalls,