Remove unnecessary promiuse usage. (#6585)

This commit is contained in:
Tommaso Sciortino 2025-08-19 15:31:02 -07:00 committed by GitHub
parent 1244ec6954
commit 0cc2a1e7ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 61 additions and 67 deletions

View file

@ -482,8 +482,8 @@ export class Config {
return this.workspaceContext;
}
getToolRegistry(): Promise<ToolRegistry> {
return Promise.resolve(this.toolRegistry);
getToolRegistry(): ToolRegistry {
return this.toolRegistry;
}
getPromptRegistry(): PromptRegistry {