mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-02 13:40:46 +00:00
fix: enhance 429 error handling and fix failed cases
This commit is contained in:
parent
3056f8a63d
commit
50e3a6ee0a
7 changed files with 68 additions and 43 deletions
|
|
@ -69,6 +69,7 @@ function createConfig(overrides: ConfigOverrides = {}): Config {
|
|||
getDebugMode: () => false,
|
||||
getApprovalMode: () => 'auto',
|
||||
getOutputFormat: () => 'stream-json',
|
||||
initialize: vi.fn(),
|
||||
};
|
||||
return { ...base, ...overrides } as unknown as Config;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue