mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-22 03:10:15 +01:00
fix: getResponseModel
This commit is contained in:
parent
dd90907a18
commit
43b280fb5d
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ class BaseClient {
|
||||||
* @returns {string}
|
* @returns {string}
|
||||||
*/
|
*/
|
||||||
getResponseModel() {
|
getResponseModel() {
|
||||||
if (this.options.agent.id && isAgentsEndpoint(this.options.endpoint)) {
|
if (isAgentsEndpoint(this.options.endpoint) && this.options.agent && this.options.agent.id) {
|
||||||
return this.options.agent.id;
|
return this.options.agent.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue