Repository navigation
Try the official model once when a person's provider gives up - #302
Merged
Merged
Conversation
Listen uses the official model when the person already picked it. A rejection or timeout gets one official try, paid by that person. Invoke stays on the agent's own provider, and a failed official try is not called again. Co-authored-by: Cursor <[email protected]>
A listen timeout, a token mint failure, and a missing hop no longer spend the try. A reply that already came back is posted again without a second model call. Co-authored-by: Cursor <[email protected]>
…e inbox. The letter is not marked spent, so a later envelope can still be tried. Later letters in the same batch keep moving. Co-authored-by: Cursor <[email protected]>
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.
Summary
acn listenanswers a human chat with the official model when the person already picked one.Test plan
npx vitest run tests/local-receiver.test.ts tests/inbox-replay.test.ts tests/chat-writeback.test.ts(69 passed)npx tsc --noEmit -p tsconfig.tests.jsonpython3 scripts/check_skill_frontmatter.pyMade with Cursor