From 3748020b03ec09e4451d4085be2a65099ef770ea Mon Sep 17 00:00:00 2001 From: seb Date: Mon, 12 Oct 2026 18:29:29 +0200 Subject: [PATCH] u --- src/api/openapi.js | 2 +- src/api/routes/modelconversation.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/openapi.js b/src/api/openapi.js index e9c0c3a..17f373a 100644 --- a/src/api/openapi.js +++ b/src/api/openapi.js @@ -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. * first_message: * 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: * type: object * required: [provider, model] diff --git a/src/api/routes/modelconversation.js b/src/api/routes/modelconversation.js index f5fe294..2e6381b 100644 --- a/src/api/routes/modelconversation.js +++ b/src/api/routes/modelconversation.js @@ -4,7 +4,7 @@ import { RETIRED_MODELS, resolveDefaultModel } from '../../tools/llm-key.js'; import { emit } from '../sse.js'; import { getOrCreateManager, removeManager, cleanUserMessageContent } from '../../services/conversationManager.js'; -const FIRST_MESSAGE_MAX_CHARS = 100; +const FIRST_MESSAGE_MAX_CHARS = 50; // #region Helpers