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

Fixes context middleware to append to user message only. #591

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

mbleigh
Copy link
Collaborator

@mbleigh mbleigh commented Jul 11, 2024

Applies the fix from #542 to the context augmentation middleware.

Checklist (if applicable):

  • Tested (manually, unit tested, etc.)

Copy link
Member

@MichaelDoyle MichaelDoyle left a comment

Choose a reason for hiding this comment

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

Thanks! This change itself looks great.

On a bigger picture level, I am still curious as to whether or not the middleware should be reapplied during a tool-calling loop, or if we can/should maintain the original request that went to the LLM and simple append to that. I am not so familiar with how this is al plumbed together.

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