-
Notifications
You must be signed in to change notification settings - Fork 62
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 support for openai o1 models #466
Conversation
Ashad-h
commented
Oct 18, 2024
- Since o1 models doesn't support streaming, I simulated a stream, as it's much easier because all the latitude pipeline seems to be stream only.
- Adapted the playground to display correct loading animation.
Run pnpm prettier to fix any formatting issues |
toolCalls: Promise.resolve(toolCalls), | ||
}, | ||
}) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you could add some unit tests for this in the accompanying test file it would be awesome 🙏🏼
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fantastic initiative