Skip to content

Allow formats on agent schema#2603

Merged
rafaelsideguide merged 1 commit intomainfrom
abi/eng-4259-invalid-json-schema-on-agent-endpoint
Dec 29, 2025
Merged

Allow formats on agent schema#2603
rafaelsideguide merged 1 commit intomainfrom
abi/eng-4259-invalid-json-schema-on-agent-endpoint

Conversation

@abimaelmartell
Copy link
Copy Markdown
Member

@abimaelmartell abimaelmartell commented Dec 23, 2025

Summary by cubic

Enable JSON Schema format keywords on the v2 agent endpoint by adding ajv-formats and compiling with a dedicated Ajv instance. Addresses ENG-4259 by preventing false “Invalid JSON schema” errors and improving error messages.

  • Bug Fixes

    • Support JSON Schema format keywords (e.g., email, uri) in agent schema validation.
    • Provide clearer errors: “Invalid JSON schema: ”.
  • Dependencies

    • Added ajv-formats and initialized a dedicated Ajv instance for agent schema validation.

Written for commit de39f66. Summary will update automatically on new commits.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

@rafaelsideguide rafaelsideguide merged commit 05c76d6 into main Dec 29, 2025
12 checks passed
bryanstevensacosta pushed a commit to bryanstevensacosta/firecrawl that referenced this pull request Jan 11, 2026
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