Skip to content

Conversation

@yaonyan
Copy link
Contributor

@yaonyan yaonyan commented Nov 10, 2025

  • Add validation: when hasDefinitions is empty, definitionsOf must be provided
  • Add validation: when useTool is specified, hasDefinitions must contain that tool
  • Prioritize empty hasDefinitions check before other validations
  • Ensure tools are properly defined before use in agentic mode

@yaonyan yaonyan self-assigned this Nov 10, 2025
@yaonyan yaonyan changed the title feat: improve agentic mode schema validation feat: improve agentic mode schema by removing action Nov 10, 2025
- Add validation: when hasDefinitions is empty, definitionsOf must be provided
- Add validation: when useTool is specified, hasDefinitions must contain that tool
- Prioritize empty hasDefinitions check before other validations
- Ensure tools are properly defined before use in agentic mode
@yaonyan yaonyan force-pushed the feat/improve-agentic-schema-validation branch from 1cd11a4 to cbb4a12 Compare November 10, 2025 15:14
@yaonyan yaonyan merged commit 4aecb45 into main Nov 10, 2025
3 checks passed
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