We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a02f8ce commit 63c2fffCopy full SHA for 63c2fff
1 file changed
packages/api/src/endpoints/openai/llm.ts
@@ -1,5 +1,6 @@
1
import { HttpsProxyAgent } from 'https-proxy-agent';
2
import { KnownEndpoints } from 'librechat-data-provider';
3
+import type { AzureOpenAIInput } from '@langchain/azure-openai';
4
import type * as t from '~/types';
5
import { sanitizeModelName, constructAzureURL } from '~/utils/azure';
6
import { isEnabled } from '~/utils/common';
@@ -85,7 +86,7 @@ export function getOpenAIConfig(
85
86
endpoint?: string | null,
87
): t.LLMConfigResult {
88
const {
- modelOptions = {},
89
+ modelOptions: _modelOptions = {},
90
reverseProxyUrl,
91
defaultQuery,
92
headers,
@@ -273,4 +274,6 @@ export function getOpenAIConfig(
273
274
llmConfig,
275
configOptions,
276
};
277
+
278
+ return result;
279
}
0 commit comments