Repository navigation
Version 0.2.0; an unavailable cost says why; CLAUDE.md setup and Codex note - #50
Merged
Merged
Conversation
… an unavailable cost says why
- Version 0.2.0 (pyproject.toml, __init__.py, the README's citation): recorded in
every segment log, which still said 0.1.1.
- With agent.timeout, CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS=0 (unless set):
claude -p otherwise stops background tasks 10 minutes after its last turn.
- When no cost is known and the calls give one reason, the end says it
("cost unavailable: set agent.model ..." for Codex, whose output names no
model, checked on a real Codex 0.171).
- CLAUDE.md: the setup installs the examples extra (as CI); the Codex model note.
…ery unpriced call gives it, string-only and cleaned - Dropped CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS=0: a background task that never ends would keep every call alive until its timeout, which then counts as a failed call; the report agent always has a deadline. - format_total_cost: usage records can come from a file candidate code writes, so only a plain-string reason, cleaned of terminal controls, and only when all unpriced calls give the same one. Codex's reason is now "set agent.model" (fits an 80-column end block); its warning still says why.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Small changes before 0.2.0.
pyproject.toml,src/autohelix/__init__.pyand the README's citation. Every segment log records the version, and they all still said 0.1.1. The CHANGELOG's "Unreleased" heading becomes "0.2.0 — date" when the release is tagged.agent.model.examplesextra, as CI does (the example tests need numpy, scipy and scikit-learn). The note on Codex's model is no longer "unconfirmed".An independent review led to two changes:
CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS=0under a timeout is dropped. A background task that never ends would keep every call alive until its timeout, and the call would then count as failed.Full suite: 2083 passed.