mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-04 14:57:42 +00:00
fix: persist project id in agent chat saves
This commit is contained in:
parent
6042923c25
commit
4dbc277b91
2 changed files with 2 additions and 0 deletions
|
|
@ -209,6 +209,7 @@ class AgentClient extends BaseClient {
|
|||
{
|
||||
spec: this.options.spec,
|
||||
iconURL: this.options.iconURL,
|
||||
chatProjectId: this.options.chatProjectId,
|
||||
endpoint: this.options.endpoint,
|
||||
agent_id: this.options.agent.id,
|
||||
modelLabel: this.options.modelLabel,
|
||||
|
|
|
|||
|
|
@ -857,6 +857,7 @@ const initializeClient = async ({ req, res, signal, endpointOption }) => {
|
|||
agent: primaryConfig,
|
||||
spec: endpointOption.spec,
|
||||
iconURL: endpointOption.iconURL,
|
||||
chatProjectId: endpointOption.chatProjectId,
|
||||
attachments: primaryConfig.requestAttachments ?? primaryConfig.attachments,
|
||||
agentContextAttachmentsByAgentId,
|
||||
endpointType: endpointOption.endpointType,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue