mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 20:20:57 +00:00
Update MCP client to connect to servers with only prompts (#5290)
This commit is contained in:
parent
93f8fe3671
commit
99ba2f6424
3 changed files with 65 additions and 27 deletions
|
|
@ -212,9 +212,9 @@ describe('mcpCommand', () => {
|
|||
);
|
||||
expect(message).toContain('server2_tool1');
|
||||
|
||||
// Server 3 - Disconnected
|
||||
// Server 3 - Disconnected but with cached tools, so shows as Ready
|
||||
expect(message).toContain(
|
||||
'🔴 \u001b[1mserver3\u001b[0m - Disconnected (1 tools cached)',
|
||||
'🟢 \u001b[1mserver3\u001b[0m - Ready (1 tool)',
|
||||
);
|
||||
expect(message).toContain('server3_tool1');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue