Answer the prose review's second round

This commit is contained in:
2026-10-02 15:21:14 +02:00
parent ffcdfeaefd
commit ad06d08a46
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ def limit(raw: dict[str, object], window: str, zone: datetime.tzinfo | None) ->
# The input's fields: https://code.claude.com/docs/en/statusline
# Leave out a field absent, null or of the wrong type without a warning: many are absent in normal use (no rate_limits for API users), so drift shows only as absence.
# A field that is absent, null or of the wrong type is left out silently: many are absent in normal use (API users get no rate_limits).
def parse(raw: dict[str, object], zone: datetime.tzinfo | None) -> Status:
return Status(
context_percent=number(raw, "context_window", "used_percentage"),