mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 17:30:16 +01:00
refactor: remove unnecessary assignment of parentMessageId (agent request handler)
This commit is contained in:
parent
b615c4c7ec
commit
b41e39e6e5
1 changed files with 0 additions and 5 deletions
|
|
@ -88,11 +88,6 @@ const AgentController = async (req, res, next, initializeClient, addTitle) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
let response = await client.sendMessage(text, messageOptions);
|
let response = await client.sendMessage(text, messageOptions);
|
||||||
|
|
||||||
if (overrideParentMessageId) {
|
|
||||||
response.parentMessageId = overrideParentMessageId;
|
|
||||||
}
|
|
||||||
|
|
||||||
response.endpoint = endpointOption.endpoint;
|
response.endpoint = endpointOption.endpoint;
|
||||||
|
|
||||||
const { conversation = {} } = await client.responsePromise;
|
const { conversation = {} } = await client.responsePromise;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue