mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-25 20:02:47 +00:00
fix: extract node can not extract when using tool-calling-able model. (#5555)
This commit is contained in:
parent
8e77060f9c
commit
486d791b94
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue