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

sys_prompt #915

Closed
wants to merge 1 commit into from
Closed

sys_prompt #915

wants to merge 1 commit into from

Conversation

ehhuang
Copy link
Contributor

@ehhuang ehhuang commented Jan 31, 2025

What does this PR do?
The current default system prompt for llama3.2 tends to overindex on tool calling and doesn't work well when the prompt does not require tool calling.

This PR adds an option to override the default system prompt, and organizes tool-related configs into a new config object.

Addresses issue (#issue)
Test Plan
Please describe:

tests you ran to verify your changes with result summaries.
provide instructions so it can be reproduced.
Sources
Please link relevant resources if necessary.

Before submitting
This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
Ran pre-commit to handle lint / formatting issues.
Read the contributor guideline,
Pull Request section?
Updated relevant documentation.
Wrote necessary unit or integration tests.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jan 31, 2025
@ehhuang ehhuang closed this Jan 31, 2025
@ehhuang ehhuang reopened this Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants