mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-22 03:03:56 +00:00
fix: reduce invalid stream retry attempts in gemini chat
This commit is contained in:
parent
93c96a0425
commit
57f18d1ad7
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ const INVALID_CONTENT_RETRY_OPTIONS: ContentRetryOptions = {
|
|||
// reason. All are retried with an independent budget (similar to rate-limit
|
||||
// retries) so they do not consume each other's retry budgets.
|
||||
const INVALID_STREAM_RETRY_CONFIG = {
|
||||
maxRetries: 5,
|
||||
maxRetries: 2,
|
||||
initialDelayMs: 2000,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue