mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-05-13 07:46:47 +00:00
Merge d14d90e624 into 6b5596ec36
This commit is contained in:
commit
5ce4c1938d
1 changed files with 4 additions and 0 deletions
|
|
@ -330,6 +330,10 @@ export function getOpenAILLMConfig({
|
|||
{
|
||||
streaming,
|
||||
model: modelOptions.model ?? '',
|
||||
/** Default to 0 retries to avoid long delays from LangChain's
|
||||
* exponential backoff (up to ~2 min with default maxRetries=6).
|
||||
* Can be overridden via modelOptions or customParams.defaultParams. */
|
||||
maxRetries: 0,
|
||||
},
|
||||
modelOptions,
|
||||
) as OpenAILLMConfig;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue