Skip to content

Bound reaction tool choices to supported emoji - #227

Merged
iamwavecut merged 1 commit into
mainfrom
fix/reaction-tool-enum
Oct 10, 2026
Merged

iamwavecut merged 1 commit into
mainfrom
fix/reaction-tool-enum

Conversation

@iamwavecut

Copy link
Copy Markdown
Owner

The reaction tool accepts a fixed emoji list, but its schema exposed an unrestricted string. Recent dialogs selected unsupported emoji and the runtime rejected them. Publish the existing allowlist as a schema enum so the model can select valid reactions before calling the tool.

Lifecycle reactions remain reserved and runtime validation is unchanged.

Validation: regression failed before the schema change; cargo test --workspace --all-targets passed (2468 tests, 10 ignored); cargo fmt --all; cargo clippy --workspace --all-targets -- -D warnings.

@github-actions

Copy link
Copy Markdown
Messages
📖 Danger checked 1 changed file(s).

Generated by 🚫 dangerJS against 76bd8cc

@iamwavecut
iamwavecut merged commit f47b4fe into main Oct 10, 2026
12 checks passed
@iamwavecut
iamwavecut deleted the fix/reaction-tool-enum branch October 10, 2026 12: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