fix(web): show Codex round usage metadata (#1685)

* fix(web): show Codex round usage metadata

* fix(web): skip imported Codex round duration
This commit is contained in:
Ananovo
2026-09-09 09:32:43 +08:00
committed by GitHub
parent ceb9314350
commit 2b402d24d9
13 changed files with 210 additions and 4 deletions
+2 -1
View File
@@ -221,12 +221,13 @@ export async function codexLocalLauncher(session: CodexSession): Promise<'switch
: primarySessionId
? {
...message,
flavor: 'codex',
model: transcriptModel,
threadId: primarySessionId,
thread_id: primarySessionId,
hapiUsageScope: 'managed'
}
: { ...message, model: transcriptModel };
: { ...message, flavor: 'codex', model: transcriptModel };
session.sendAgentMessage(scopedMessage);
}
}