NCBM
|
c9e805f38d
|
core/agent+cli: treat last-request prompt_tokens as context size
context_tokens prefers API usage from the last model call; char est.
is only a pre-call fallback. Clarify billed turn/session totals in UI.
|
2026-07-15 11:07:52 +08:00 |
|
NCBM
|
58041c6c87
|
core/agent+config: soft context budget in estimated tokens
Replace max_context_chars with max_context_tokens (default 200k est.
tokens via char/4); compact and /status use the token budget.
|
2026-07-15 10:58:01 +08:00 |
|
NCBM
|
5c13e06427
|
ci/lint: per-file ignores for tests in ruff and basedpyright
Relax ANN/ARG/PLR/C901 and related rules under tests/**; silence noisy
basedpyright reports for test fakes and private helpers.
|
2026-07-15 10:35:30 +08:00 |
|
NCBM
|
3215a5cc35
|
core/cli: show context char estimate in /status
Surface soft budget usage (context_chars and tool_result_max) for
Phase D without introducing a local tokenizer.
|
2026-07-15 10:12:01 +08:00 |
|
NCBM
|
bd6f8f5d9a
|
core/cli: resume sessions, history, editline Tab, higher tool rounds
Default to file SQLite DB and latest session; /history and /rounds;
bind Tab for libedit; max tool rounds default 32.
|
2026-07-14 19:15:12 +08:00 |
|
NCBM
|
566c1d7d4d
|
test/cli: cover selection, slash commands, and providers list
|
2026-07-14 18:29:46 +08:00 |
|