Skip to content

Conversation

AshAnand34
Copy link
Contributor

@AshAnand34 AshAnand34 commented Aug 30, 2025

Issue #188

Enhanced the tool validation schema in toolValidation.ts:

  • Added support for both legacy and modern parameter schema formats
  • Added more comprehensive parameter property validation
  • Added better error handling and logging
  • Added support for additional JSON Schema properties like enum and format

Updated the tool validation logic in api.chat.ts:

  • Added better error logging for debugging
  • Added tracking of valid vs invalid tools
  • Added checks to ensure we don't merge empty tool sets
  • Improved error detail reporting

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.

1 participant