mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 17:00:15 +01:00
🧩 fix(Plugins): Keep User agentModel and Model Validation (#1972)
* fix: do not override model * temp fix for secondary model validation
This commit is contained in:
parent
62834e18fb
commit
8bef084bfc
2 changed files with 1 additions and 8 deletions
|
|
@ -31,10 +31,6 @@ class PluginsClient extends OpenAIClient {
|
|||
|
||||
super.setOptions(options);
|
||||
|
||||
if (this.functionsAgent && this.agentOptions.model && !this.useOpenRouter && !this.azure) {
|
||||
this.agentOptions.model = this.getFunctionModelName(this.agentOptions.model);
|
||||
}
|
||||
|
||||
this.isGpt3 = this.modelOptions?.model?.includes('gpt-3');
|
||||
|
||||
if (this.options.reverseProxyUrl) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue