File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
packages/api/src/endpoints/openai Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 11import { HttpsProxyAgent } from 'https-proxy-agent' ;
22import { KnownEndpoints } from 'librechat-data-provider' ;
3+ import type { AzureOpenAIInput } from '@langchain/azure-openai' ;
34import type * as t from '~/types' ;
45import { sanitizeModelName , constructAzureURL } from '~/utils/azure' ;
56import { isEnabled } from '~/utils/common' ;
@@ -85,7 +86,7 @@ export function getOpenAIConfig(
8586 endpoint ?: string | null ,
8687) : t . LLMConfigResult {
8788 const {
88- modelOptions = { } ,
89+ modelOptions : _modelOptions = { } ,
8990 reverseProxyUrl,
9091 defaultQuery,
9192 headers,
@@ -273,4 +274,6 @@ export function getOpenAIConfig(
273274 llmConfig,
274275 configOptions,
275276 } ;
277+
278+ return result ;
276279}
You can’t perform that action at this time.
0 commit comments