mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 16:00:58 +00:00
Remove built-in tool override warning, closes #615
This commit is contained in:
parent
65b72cc514
commit
2787638561
1 changed files with 0 additions and 18 deletions
|
|
@ -755,24 +755,6 @@ export class InteractiveMode {
|
|||
this.chatContainer.addChild(new Spacer(1));
|
||||
}
|
||||
|
||||
// Warn about built-in tool overrides
|
||||
const builtInToolNames = new Set(Object.keys(allTools));
|
||||
const registeredTools = extensionRunner.getAllRegisteredTools();
|
||||
for (const tool of registeredTools) {
|
||||
if (builtInToolNames.has(tool.definition.name)) {
|
||||
this.chatContainer.addChild(
|
||||
new Text(
|
||||
theme.fg(
|
||||
"warning",
|
||||
`Warning: Extension "${tool.extensionPath}" overrides built-in tool "${tool.definition.name}"`,
|
||||
),
|
||||
0,
|
||||
0,
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// Emit session_start event
|
||||
await extensionRunner.emit({
|
||||
type: "session_start",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue