mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-13 22:56:28 +00:00
fix: extract node can not extract when using tool-calling-able model. (#5555)
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user