mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-23 03:40:14 +01:00
🤖 fix: Address Minor Agent Issues (#4483)
* fix(Agents): remove test code in openAI/llm.js * refactor: add use of enums in encodeAndFormat * fix: image attachment payload formatting for agents * chore: imports
This commit is contained in:
parent
a6fbe7591a
commit
ec922986a9
5 changed files with 20 additions and 6 deletions
|
|
@ -130,7 +130,7 @@ const initializeClient = async ({
|
|||
if (optionsOnly) {
|
||||
const requestOptions = Object.assign(
|
||||
{
|
||||
modelOptions: endpointOption.modelOptions,
|
||||
modelOptions: endpointOption.model_parameters,
|
||||
},
|
||||
clientOptions,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@ function getLLMConfig(apiKey, options = {}) {
|
|||
} = options;
|
||||
|
||||
let llmConfig = {
|
||||
model: 'gpt-4o-mini',
|
||||
streaming,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue