fix(btw): 修复长对话上下文预算与旁路输入布局
This commit is contained in:
1 parent
555539bc8e
commit
d893861d00
17 files changed
+1295
-92
No files matched your search
@@ -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[];
|
||||
|
||||
Reference in new issue
Block a user