remove no need code

This commit is contained in:
lloydzhou
2024-09-03 20:21:37 +08:00
parent 7180ed9a60
commit 6ab6b3dbca
3 changed files with 0 additions and 3 deletions

View File

@@ -410,7 +410,6 @@ export const useChatStore = createPersistStore(
});
},
onAfterTool(tool: ChatMessageTool) {
console.log("onAfterTool", botMessage);
botMessage?.tools?.forEach((t, i, tools) => {
if (tool.id == t.id) {
tools[i] = { ...tool };