Skip to content

feat(agent): add opt-in tool selection failure policies and action decision contract (T36) - #170

Merged
yuluo-yx merged 1 commit into
agentic-ai-java:mainfrom
XianReallyHot-ZZH:feat/issue-139-action-decision
Oct 17, 2026
Merged

yuluo-yx merged 1 commit into
agentic-ai-java:mainfrom
XianReallyHot-ZZH:feat/issue-139-action-decision

Conversation

@XianReallyHot-ZZH

Copy link
Copy Markdown
Contributor

确认 (Acknowledged) contribution to ARGI: add opt-in tool selection failure policies and the ActionDecision contract as the first T36 slice for #139.

…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.
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