mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 16:57:46 +00:00
Remove unnecessary promiuse usage. (#6585)
This commit is contained in:
committed by
GitHub
parent
1244ec6954
commit
0cc2a1e7ef
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user