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

feat: insert system prompt when not present #259

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

maciejmajek
Copy link
Member

Purpose

Previously system prompt wasn't added to the state['messages'] resulting in poor tracing.

Proposed Changes

This PR fixes this behavior by inserting system prompt message into state['messages'] if there is no system message yet.

Issues

  • Links to relevant issues

Testing

  • How was it tested, what were the results?

@maciejmajek maciejmajek merged commit 1d49cae into development Sep 30, 2024
4 checks passed
@maciejmajek maciejmajek deleted the fix/conversational-agent-system-prompt branch September 30, 2024 13:06
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