Repository navigation
feat(agent): add opt-in tool selection failure policies and action decision contract (T36) - #170
Merged
yuluo-yx merged 1 commit intoOct 17, 2026
Conversation
…cision contract (T36) Introduce the ActionDecision contract (action type, reason code, detail) and an opt-in ToolSelectionFailurePolicy for ToolSelectionInterceptor: the legacy fail-open-to-all-tools behavior stays the default, while strict configurations can restrict the fallback to always-include tools or abort the model call with a ToolSelectionFailedException. Malformed selection responses and selection model failures are now distinguished by reason code, a legal empty selection records a FINAL_RESPONSE decision under argi.actionDecision, and the default routing is unchanged. Foundational slice for agentic-ai-java#139.
yuluo-yx
pushed a commit
that referenced
this pull request
Oct 17, 2026
…cision contract (T36) (#170)
4 tasks
This was referenced Oct 18, 2026
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.
确认 (Acknowledged) contribution to ARGI: add opt-in tool selection failure policies and the ActionDecision contract as the first T36 slice for #139.