mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 04:00:36 +00:00
Eliminate createServerConfig() (#821)
This commit is contained in:
parent
10b52ac4e8
commit
d6cf4d5b0b
4 changed files with 5 additions and 87 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue