mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-03 06:00:49 +00:00
refactor: update test structure and clean up unused code in cli and sdk
This commit is contained in:
parent
ad9ba914e1
commit
ac6aecb622
14 changed files with 2620 additions and 401 deletions
|
|
@ -855,13 +855,6 @@ export class Config {
|
|||
return this.mcpServers;
|
||||
}
|
||||
|
||||
setMcpServers(servers: Record<string, MCPServerConfig>): void {
|
||||
if (this.initialized) {
|
||||
throw new Error('Cannot modify mcpServers after initialization');
|
||||
}
|
||||
this.mcpServers = servers;
|
||||
}
|
||||
|
||||
addMcpServers(servers: Record<string, MCPServerConfig>): void {
|
||||
if (this.initialized) {
|
||||
throw new Error('Cannot modify mcpServers after initialization');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue