remove no need code
This commit is contained in:
parent
7180ed9a60
commit
6ab6b3dbca
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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 };
|
||||
|
|
Loading…
Reference in New Issue