feat: show context usage in tui status

This commit is contained in:
2026-05-23 07:15:03 +09:00
parent be8b10e759
commit a267ad8114
16 changed files with 213 additions and 4 deletions
+9
View File
@@ -2,42 +2,51 @@
[[model]]
id = "claude-sonnet-4-6"
provider = "anthropic"
context_window = 200000
[[model]]
id = "claude-sonnet-4-5"
provider = "anthropic"
context_window = 200000
[[model]]
id = "claude-opus-4-1"
provider = "anthropic"
context_window = 200000
# Ollama local (capability is router-ish / ollama handles its own models)
[[model]]
id = "llama3.1"
provider = "ollama-local"
context_window = 128000
[[model]]
id = "qwen2.5-coder"
provider = "ollama-local"
context_window = 128000
# Codex OAuth (ChatGPT backend via Responses API)
[[model]]
id = "gpt-5-codex"
provider = "codex-oauth"
context_window = 400000
capability = { tool_calling = "parallel", structured_output = "json_schema", reasoning = "effort", vision = true, prompt_caching = { kind = "auto" } }
[[model]]
id = "gpt-5"
provider = "codex-oauth"
context_window = 400000
capability = { tool_calling = "parallel", structured_output = "json_schema", reasoning = "effort", vision = true, prompt_caching = { kind = "auto" } }
# OpenRouter
[[model]]
id = "anthropic/claude-sonnet-4"
provider = "openrouter"
context_window = 200000
capability = { tool_calling = "parallel", structured_output = "json_schema", reasoning = "budget_tokens", vision = true, prompt_caching = { kind = "auto" } }
[[model]]
id = "openai/gpt-5"
provider = "openrouter"
context_window = 400000
capability = { tool_calling = "parallel", structured_output = "json_schema", reasoning = "effort", vision = true, prompt_caching = { kind = "auto" } }