mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 08:12:00 +02:00
🔄 refactor: Default Completion Title Prompt and Title Model Selection (#8646)
* refactor: prefer `agent.model` (user-facing value) over `agent.model_parameters.model` to ensure Azure mapping * chore: update @librechat/agents to version 2.4.68 to use new default title prompt for completion title method
This commit is contained in:
parent
bef5c26bed
commit
01470ef9fd
4 changed files with 8 additions and 8 deletions
|
@ -1022,7 +1022,7 @@ class AgentClient extends BaseClient {
|
|||
/** @type {import('@librechat/agents').ClientOptions} */
|
||||
let clientOptions = {
|
||||
maxTokens: 75,
|
||||
model: agent.model_parameters.model,
|
||||
model: agent.model || agent.model_parameters.model,
|
||||
};
|
||||
|
||||
let titleProviderConfig = await getProviderConfig(endpoint);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue