Skip to content

Declare tool-selection capability as interfaces, and forward toolChoice from Agent - #5

Merged
MarcelloDuarte merged 2 commits into
mainfrom
papi-core-0-15
Jul 31, 2026
Merged

Declare tool-selection capability as interfaces, and forward toolChoice from Agent#5
MarcelloDuarte merged 2 commits into
mainfrom
papi-core-0-15

Conversation

@MarcelloDuarte

Copy link
Copy Markdown
Contributor

Parked mid-review: complete and green locally, awaiting the v0.16 release
decision.

Requires papi-ai/papi-core ^0.15, which brings the effort option and the tool-selection capability interfaces. composer ci green locally against core v0.15.1.

Requires papi-core ^0.15.

Maps the neutral effort option onto reasoning_effort. The accepted levels vary
by model and the API rejects an unknown one outright rather than ignoring it,
so the level is narrowed against what the target model actually takes: max
arrived with 5.6, xhigh with the 5.1 codex generation, minimal exists only on
the original GPT-5, and everything older takes the three middle levels.
…ce from Agent

Parked mid-review: complete and green locally, awaiting the v0.16 release
decision.
@MarcelloDuarte
MarcelloDuarte merged commit 44e1793 into main Jul 31, 2026
6 checks passed
@MarcelloDuarte
MarcelloDuarte deleted the papi-core-0-15 branch July 31, 2026 14:48
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.

1 participant