Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: invalid schema because array schema is missing items #1049

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

sigoden
Copy link
Owner

@sigoden sigoden commented Dec 11, 2024

fix error that array schema{"type":"array"} miss items property.

Error: Failed to call chat-completions api

Caused by:
    Invalid schema for function 'filesystem_read_multiple_files': In context=('properties', 'paths'), array schema missing items. (type: invalid_request_error)

@sigoden sigoden changed the title fix: invalid schema that array schema missing items fix: invalid schema because array schema is missing items Dec 11, 2024
@sigoden sigoden merged commit 1d8892a into main Dec 11, 2024
3 checks passed
@sigoden sigoden deleted the fix-tool-schema branch December 11, 2024 09:36
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