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

Add direct support for OpenAI o1 updates (e.g. developer messages) #749

Closed
willbakst opened this issue Dec 18, 2024 · 2 comments
Closed
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers mirascope

Comments

@willbakst
Copy link
Contributor

Description

OpenAI recently released o1 with new things such as developer messages. We should add support for this.

@willbakst willbakst added enhancement New feature or request and removed Feature Request labels Dec 18, 2024
@willbakst willbakst added the mirascope label Dec 19, 2024 — with Linear
@willbakst willbakst added the good first issue Good for newcomers label Dec 21, 2024
@koxudaxi
Copy link
Collaborator

Investigation Results for OpenAI o1 Support

Current Status

  • The o1 model (specifically o1-2024-12-17) is currently only accessible to Tier 5 users
  • Attempted direct testing was not possible due to access restrictions:
Error 404: The model `o1-2024-12-17` does not exist or you do not have access to it

Key Findings

Developer Messages

  • developer role is a replacement for the traditional system role in o1 models
  • OpenAI automatically converts system to developer messages
  • No explicit conversion needed on our end for backward compatibility
Implementation Recommendations
  1. Message Role Handling

    • No immediate action required for system/developer role conversion
    • OpenAI handles this conversion automatically
  2. Function Calling

    • Documentation suggests support is available, but requires verification
    • Unable to verify actual behavior due to access restrictions

References

@willbakst
Copy link
Contributor Author

Ok I think we can close this then given the automatic support. We can always revisit this down the line if we need to add developer messages, which I would assume would operate exactly like our existing system message support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers mirascope
Projects
None yet
Development

No branches or pull requests

2 participants