lloydzhou 1 год назад
Родитель
Сommit
6ab6b3dbca
3 измененных файлов с 0 добавлено и 3 удалено
  1. 0 1
      app/client/platforms/anthropic.ts
  2. 0 1
      app/client/platforms/moonshot.ts
  3. 0 1
      app/store/chat.ts

+ 0 - 1
app/client/platforms/anthropic.ts

@@ -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,

+ 0 - 1
app/client/platforms/moonshot.ts

@@ -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,

+ 0 - 1
app/store/chat.ts

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