Skip to content

Conversation

@farrelmahaztra
Copy link
Contributor

@farrelmahaztra farrelmahaztra commented Oct 20, 2025

  • Fixes not serializable as JSON error when displaying ImageContent
  • Fixes computer click tool and others failing when input type is not a string

Note

Improve interactive tool arg parsing for anyOf/oneOf types and add safe, informative rendering for ImageContent results.

  • CLI interactive tester (hud/cli/utils/interactive.py):
    • Tool arg parsing: Detect prop_schema type from anyOf/oneOf (excluding null), falling back to string when absent.
    • Result rendering: Add handling for ImageContent to display mime type and base64 size in a panel (avoids JSON serialization issues).
    • Imports: Include ImageContent to support new rendering.

Written by Cursor Bugbot for commit 7dac8d5. This will update automatically on new commits. Configure here.

cursor[bot]

This comment was marked as outdated.

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.

2 participants