feat(FN-5374): raise room transcript defaults and align compaction settings
Raised room transcript defaults (`messagesBefore` and `daysBefore`) in the core settings schema and updated project-level setting defaults, with corresponding documentation refresh in the settings reference. Added full test coverage for room compaction defaults, pinned room default settings in Setti Fusion-Task-Id: FN-5374
This commit is contained in:
committed by
gsxdsm
parent
e12adeb3fa
commit
5f9f777630
@@ -138,11 +138,11 @@ const MAX_MESSAGES_PER_IP_PER_MINUTE = 30;
|
||||
/** Maximum file size for # mentions (50KB). Files larger than this are skipped. */
|
||||
const MAX_REFERENCED_FILE_SIZE = 50 * 1024;
|
||||
const ROOM_AMBIENT_MAX_RESPONDERS = 5;
|
||||
const DEFAULT_ROOM_THREAD_RECENT_VERBATIM_MESSAGES = 12;
|
||||
const DEFAULT_ROOM_THREAD_COMPACTION_FETCH_LIMIT = 80;
|
||||
const ROOM_THREAD_CONTEXT_MAX_CHARS = 8_000;
|
||||
const DEFAULT_ROOM_THREAD_RECENT_VERBATIM_MESSAGES = 25;
|
||||
const DEFAULT_ROOM_THREAD_COMPACTION_FETCH_LIMIT = 200;
|
||||
const ROOM_THREAD_CONTEXT_MAX_CHARS = 20_000;
|
||||
const ROOM_THREAD_MESSAGE_CONTENT_MAX_CHARS = 1_200;
|
||||
const DEFAULT_ROOM_THREAD_SUMMARY_MAX_CHARS = 1_500;
|
||||
const DEFAULT_ROOM_THREAD_SUMMARY_MAX_CHARS = 3_000;
|
||||
const IN_FLIGHT_PERSIST_DEBOUNCE_MS = 200;
|
||||
|
||||
type RoomTranscriptMessage = Pick<ChatRoomMessage, "id" | "role" | "content" | "createdAt" | "senderAgentId">;
|
||||
|
||||
Reference in New Issue
Block a user