fix: chatbot support agent (#2201)

This commit is contained in:
Joel
2024-01-25 14:53:52 +08:00
committed by GitHub
parent 98660e1f97
commit 301e0496ff
4 changed files with 195 additions and 38 deletions

View File

@@ -660,8 +660,6 @@ const Main: FC<IMainProps> = ({
})
},
onThought(thought) {
// console.log(`${thought.id};${thought.thought};${thought.tool};${thought.tool_input}`)
isAgentMode = true
const response = responseItem as any
if (thought.message_id && !hasSetResponseId) {