Keep a choice confined to one place in a comment there
This commit is contained in:
@@ -67,6 +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
|
||||
# A field absent, null or of the wrong type is left out silently: Claude Code's schema drifts by renaming or dropping fields, which a type warning would miss.
|
||||
def parse(raw: dict[str, object], zone: datetime.tzinfo | None) -> Status:
|
||||
return Status(
|
||||
context_percent=number(raw, "context_window", "used_percentage"),
|
||||
|
||||
Reference in New Issue
Block a user