feat: token usage, response timing, block properties dialog#1095
Draft
AAClause wants to merge 4 commits intofeat/reasoning-storagefrom
Draft
feat: token usage, response timing, block properties dialog#1095AAClause wants to merge 4 commits intofeat/reasoning-storagefrom
AAClause wants to merge 4 commits intofeat/reasoning-storagefrom
Conversation
3c678ad to
3e37718
Compare
74d9565 to
df84c6b
Compare
3e37718 to
cba94b7
Compare
faeface to
a1c6a38
Compare
cba94b7 to
b580a15
Compare
a1c6a38 to
3903b1e
Compare
b580a15 to
d045046
Compare
da32201 to
fb89768
Compare
d045046 to
03572e2
Compare
fb89768 to
46be761
Compare
- Add TokenUsage and ResponseTiming models to MessageBlock - Populate usage from all provider engines (streaming and non-streaming) - Track completion timing in CompletionHandler - Add web_search_mode to MessageBlock and persist in DB - Add MessageBlockPropertiesDialog for viewing block metadata - ResponseTiming: add request_sent_at, first_token_at; TTFT, generation duration - completion_handler: capture request_sent_at, first_token_at for streaming - DB: persist usage_json, timing_json on message_blocks (migration 005) - Add usage_utils with provider-specific extractors; refactor all engines - Add Properties context menu item for message blocks (Alt+Enter)
46be761 to
8db5f8d
Compare
+ Sectioned properties dialogs with Page Up/Down navigation
65a0b2a to
dcc2ba8
Compare
- Replace ReadOnlyMessageDialog with ModelDetailsDialog for model details - Add ModelDetailsDialog with Overview, Limits, Description, Pricing, Additional info - Switch SectionedPropertiesDialog from TextCtrl to StyledTextCtrl for correct word wrap and section navigation (Page Up/Down) - Add Tab focus traversal between content area and close button (STC consumes Tab)
dcc2ba8 to
a86eee3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.