You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think via OpenAI, the o1 model works, but perhaps not via Azure?
Anyway if the issue is that it Azure o1 can't handle "system" roles, the easiest fix (it's 3-4 lines) is to build an adapter that inherits from ChatAdapter and just switches the "system" role to a "user" role.
classChatAdapterO1(dspy.adapters.ChatAdapter):
defformat(...):
... # call super()'s format and replace the roledspy.configure(adapter=ChatAdapterO1())
Hello! I am getting the following error when trying to run o1-mini with DSPy==2.5.34 with this config:
error:
Any ideas?
The text was updated successfully, but these errors were encountered: