Skip to content

Commit f6a4595

Browse files
committed
refactor: remove console logs and update GraphQL schema formatting
1 parent 2ff7132 commit f6a4595

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

frontend/src/graphql/schema.gql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,4 +259,4 @@ type User {
259259
subscribedProjects: [Project!] @deprecated(reason: "Use projects with forkedFromId instead")
260260
updatedAt: Date!
261261
username: String!
262-
}
262+
}

frontend/src/hooks/multi-agent/tools.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -581,8 +581,6 @@ export async function summaryTool(
581581
input: ChatInputType,
582582
context: AgentContext
583583
): Promise<void> {
584-
console.log('summaryTool called');
585-
586584
try {
587585
// Prepare code changes analysis
588586
const codeAnalysis = Object.entries(context.modifiedFiles)
@@ -676,9 +674,8 @@ ${result.final_response
676674
.join('\n\n\n')}
677675
`;
678676
await saveFinalResponse(formattedResponse, input, context);
679-
console.log('Summary generated successfully');
680677
} catch (error) {
681-
console.error('Error in summaryTool:', error);
678+
toast.error('Failed to generate summary');
682679
throw error;
683680
}
684681
}

0 commit comments

Comments
 (0)