support for discovered tools using project settings for discovery and call commands

This commit is contained in:
olcan
2025-05-03 19:57:28 -07:00
committed by Olcan
parent 2cd976987e
commit 6b6eef5b80
5 changed files with 139 additions and 4 deletions

View File

@@ -89,5 +89,7 @@ export async function loadCliConfig(settings: Settings): Promise<Config> {
argv.debug_mode || false,
argv.question || '',
argv.full_context || false,
settings.toolDiscoveryCommand,
settings.toolCallCommand,
);
}

View File

@@ -20,6 +20,8 @@ export enum SettingScope {
export interface Settings {
theme?: string;
sandbox?: boolean | string;
toolDiscoveryCommand?: string;
toolCallCommand?: string;
// Add other settings here.
}