Skip to content

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

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#3
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.

The default model command-r-plus was deprecated on 15 September 2025 and, worse,
predates command-r7b, so it rejects the tool_choice parameter this provider
sends. The default configuration walked straight into the failure the code's
own comment warns about. Moves to command-a-plus-05-2026.

Declares ToolSelectableInterface and not the named variant: Cohere can force
required or none, but its API cannot name a tool.
…ce from Agent

Parked mid-review: complete and green locally, awaiting the v0.16 release
decision.
@MarcelloDuarte
MarcelloDuarte merged commit e89befa 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