Skip to content

fix(runtime): hard-fail deterministic estimate errors and preserve zero usage semantics#58

Merged
phantom5099 merged 1 commit into
mainfrom
fork-pr-413-1776912961
Apr 23, 2026
Merged

fix(runtime): hard-fail deterministic estimate errors and preserve zero usage semantics#58
phantom5099 merged 1 commit into
mainfrom
fork-pr-413-1776912961

Conversation

@fennoai
Copy link
Copy Markdown

@fennoai fennoai Bot commented Apr 23, 2026

Requested by @phantom5099

Summary

  • Restrict budget estimate bypass to retryable provider errors only; deterministic estimate failures now stop before Generate.
  • Preserve Anthropic 0-token observed semantics using field-presence checks instead of >0 checks.
  • Add regression tests for deterministic estimate hard-fail and 0-token observed usage.

…ro usage observation

Generated with [codeagent](https://github.com/qbox/codeagent)
Co-authored-by: phantom5099 <245659304+phantom5099@users.noreply.github.com>
@phantom5099 phantom5099 merged commit 911491c into main Apr 23, 2026
1 check passed
@fennoai fennoai Bot deleted the fork-pr-413-1776912961 branch April 23, 2026 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants