fix(btw): 修复长对话上下文预算与旁路输入布局

This commit is contained in:
ji ruo committed 2026-09-11 00:41:01 +08:00
1 parent 555539bc8e
commit d893861d00
17 files changed
+1295 -92

No files matched your search

+10
View File
@@ -18,6 +18,16 @@ export interface SideExchange {
snapshot_at: string;
created_at: string;
sequence: number;
context?: {
phase?: "preparing" | "summarizing_history" | "compressing_snapshot" | "retrying" | "answering";
recent_exchanges: number;
history_summarized: boolean;
snapshot_summarized: boolean;
estimated_input_tokens?: number;
input_budget?: number;
output_tokens?: number;
overflow_retried?: boolean;
};
}
export interface SideHistory {
items: SideExchange[];