mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 11:41:04 +00:00
Remove unnecessary promiuse usage. (#6585)
This commit is contained in:
parent
1244ec6954
commit
0cc2a1e7ef
18 changed files with 61 additions and 67 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue