mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-05 15:31:27 +00:00
feat(ui): implement per-task token tracking in LoadingIndicator
This commit is contained in:
parent
3a92be09e0
commit
40485c59ac
6 changed files with 150 additions and 12 deletions
|
|
@ -131,6 +131,8 @@ export interface UIState {
|
|||
isMcpDialogOpen: boolean;
|
||||
// Feedback dialog
|
||||
isFeedbackDialogOpen: boolean;
|
||||
// Per-task token tracking
|
||||
taskStartTokens: number;
|
||||
}
|
||||
|
||||
export const UIStateContext = createContext<UIState | null>(null);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue