ctx_management: summarize on command button (#2479)

This commit is contained in:
Lily Delalande
2025-05-08 10:43:53 -07:00
committed by GitHub
parent 85dd6375b5
commit 01e28423ff
18 changed files with 390 additions and 74 deletions
+6
View File
@@ -196,6 +196,8 @@ export type MessageContent = (TextContent & {
type: 'redactedThinking';
}) | (ContextLengthExceeded & {
type: 'contextLengthExceeded';
}) | (SummarizationRequested & {
type: 'summarizationRequested';
});
/**
@@ -360,6 +362,10 @@ export type SessionMetadata = {
working_dir: string;
};
export type SummarizationRequested = {
msg: string;
};
export type TextContent = {
annotations?: Annotations | null;
text: string;