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.

…ction capability

Requires papi-core ^0.15.

The default model gemini-3-pro-preview was SHUT DOWN on 9 March 2026. Moves to
gemini-3.6-flash and adds the current model constants.

Maps the neutral effort option onto thinkingConfig, which has two mutually
exclusive knobs: Gemini 3 takes a thinking level, earlier models take a token
budget, and sending both is a 400. No Gemini 3 model can switch thinking off,
so none narrows to the shallowest level rather than pretending otherwise.
…ce from Agent

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