Stage rows show cached share and cost; Changes explain no_patch_reason
Timeline stage rows add the cached share (when cache_known) and a positive cost: 20.1M tokens · 97% cached · $1.42. The file viewer words each server no_patch_reason, keeping the old truncated/binary text as the fallback.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# Changes: why a file has no patch
|
||||
|
||||
The server's `FileChange.no_patch_reason` (`binary`, `file_size`, `budget`,
|
||||
`lines`, `evidence_size`, `git_status`, `baseline`) is parsed into
|
||||
`FileChange.noPatchReason` and worded by `noPatchReasonMessage` in
|
||||
`lib/features/changes/domain/change_wording.dart`. The file viewer shows it in
|
||||
place of the generic truncated/binary message. A missing, blank or unknown
|
||||
reason (older server) keeps the old wording. Tests:
|
||||
`test/features/changes/no_patch_reason_test.dart`.
|
||||
Reference in New Issue
Block a user