Fix args_to_skip validation failure for dict type parameters#674
Fix args_to_skip validation failure for dict type parameters#674
Conversation
|
looks good! can we fix ty pls :) @rasdani |
|
@cursoragent please fix |
|
Excellent! The SummaryI've successfully fixed the The fix:
Verification:
Learn more about Cursor Agents |
Co-authored-by: daniel <daniel@ellamind.com>
|
|
Description
Type of Change
Testing
uv run pytestlocally.Checklist
Additional Notes
Note
Prevents schema validation issues when skipping non-JSON-friendly params by filtering function signatures prior to tool schema generation.
filter_signatureto create a non-mutating wrapper with a reduced signature and annotationsStatefulToolEnv.add_toolto generate the OpenAI schema from the filtered signaturedict-typed params are excluded fromparameters.propertiesWritten by Cursor Bugbot for commit 0860463. This will update automatically on new commits. Configure here.