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: json schema included twice #51

Merged
merged 3 commits into from
Jun 24, 2024

Conversation

petrus-jvrensburg
Copy link
Contributor

In :tools mode, the JSON schema is included in the prompt twice: once in the system message, and again in the tool description.

This PR ignores the system message for :tools mode.

@thmsmlr
Copy link
Owner

thmsmlr commented Jun 24, 2024

Good catch!

@thmsmlr thmsmlr merged commit d9f4af8 into thmsmlr:main Jun 24, 2024
1 check 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