-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
List index error using MIPROv2 #1293
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/stanfordnlp/dspy/blob/d8b8909773fc31e72cec093db2f26109590e524e/dspy/propose/grounded_proposer.py#L195C1-L197C55
The init pattern finds the Predict init first (instead of the intended dspy module's init) and that will lead to finding no matches in line 201 and thus a list index error in line 203.
I solved it for myself temporarily replacing
with
but that's just a quick patch/hack.
The text was updated successfully, but these errors were encountered: