mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-21 09:17:53 +00:00
Eliminate createServerConfig() (#821)
This commit is contained in:
committed by
GitHub
parent
10b52ac4e8
commit
d6cf4d5b0b
@@ -34,7 +34,7 @@ vi.mock('@gemini-code/core', async () => {
|
||||
return {
|
||||
...actualServer,
|
||||
loadEnvironment: vi.fn(),
|
||||
createServerConfig: vi.fn((params) => ({
|
||||
Config: vi.fn((params) => ({
|
||||
// Mock the config object and its methods
|
||||
getApiKey: () => params.apiKey,
|
||||
getModel: () => params.model,
|
||||
|
||||
Reference in New Issue
Block a user