Skip to content

Use context instead of settings for streamify #7796

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 1 commit into from
Feb 10, 2025

Conversation

chenmoneygithub
Copy link
Collaborator

It's uncommon but possible that "streamify" is called in a child thread, especially at model serving, e.g., MLflow serving. So in order to avoid errors we are using dspy.context instead of changing the global dspy.settings.

@okhat okhat merged commit 4ddd181 into stanfordnlp:main Feb 10, 2025
4 checks passed
@chenmoneygithub chenmoneygithub deleted the use-context-streamify branch April 25, 2025 21:50
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