Skip to content

fix(go): Added simulated system prompt support #2399

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

Merged
merged 3 commits into from
Mar 20, 2025

Conversation

sahdev77
Copy link
Contributor

@sahdev77 sahdev77 commented Mar 20, 2025

Addition of simulateSystemPrompt middleware to support the system prompt coming in request for the model which are not supporting the system role.
Resolving : #1927

Checklist (if applicable):

…ls which are not supporting the system role
Copy link
Collaborator

@apascal07 apascal07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two minor changes but overall, LGTM!

@apascal07 apascal07 changed the title fix(go):Handling of system prompt in the request if the model is not supporting fix(go): Added simulated system prompt support Mar 20, 2025
@apascal07 apascal07 merged commit b0151b2 into main Mar 20, 2025
8 checks passed
@apascal07 apascal07 deleted the sahdev/simulate-system-prompt branch March 20, 2025 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants