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

@ -205,7 +205,6 @@ export class ClaudeApi implements LLMApi {
.getAsTools(
useChatStore.getState().currentSession().mask?.plugin as string[],
);
console.log("getAsTools", tools, funcs);
return stream(
path,
requestBody,

View File

@ -127,7 +127,6 @@ export class MoonshotApi implements LLMApi {
.getAsTools(
useChatStore.getState().currentSession().mask?.plugin as string[],
);
console.log("getAsTools", tools, funcs);
return stream(
chatPath,
requestPayload,

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 };