microsoft/TypeAgent
Publicmirrored from https://github.com/microsoft/TypeAgentAvailable
Commit
Fix actions without parameters getting empty parameters object
Actions like pause, resume, next, previous, status don't have parameters
in their schema. The evaluators in dfaMatcher.ts and environment.ts were
always adding `parameters: {}` which caused validation to fail with:
"Action schema parameter type mismatch: player.pause"
Now only include parameters if there are any to include.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>Changed files
2 files listed