u
This commit is contained in:
@@ -1119,7 +1119,7 @@
|
|||||||
* description: Id of the conversation that started this one as a subagent, or null for a top-level conversation. Deleting a conversation also deletes every conversation below it in this chain.
|
* description: Id of the conversation that started this one as a subagent, or null for a top-level conversation. Deleting a conversation also deletes every conversation below it in this chain.
|
||||||
* first_message:
|
* first_message:
|
||||||
* type: [string, 'null']
|
* type: [string, 'null']
|
||||||
* description: Plain text of the conversation's first user message (XML stripped, max 100 chars, ellipsis if cut), or null if there is none yet.
|
* description: Plain text of the conversation's first user message (XML stripped, max 50 chars, ellipsis if cut), or null if there is none yet.
|
||||||
* ModelConversationCreateInput:
|
* ModelConversationCreateInput:
|
||||||
* type: object
|
* type: object
|
||||||
* required: [provider, model]
|
* required: [provider, model]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { RETIRED_MODELS, resolveDefaultModel } from '../../tools/llm-key.js';
|
|||||||
import { emit } from '../sse.js';
|
import { emit } from '../sse.js';
|
||||||
import { getOrCreateManager, removeManager, cleanUserMessageContent } from '../../services/conversationManager.js';
|
import { getOrCreateManager, removeManager, cleanUserMessageContent } from '../../services/conversationManager.js';
|
||||||
|
|
||||||
const FIRST_MESSAGE_MAX_CHARS = 100;
|
const FIRST_MESSAGE_MAX_CHARS = 50;
|
||||||
|
|
||||||
// #region Helpers
|
// #region Helpers
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user