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 support for openai o1 models #466

Merged
merged 7 commits into from
Oct 21, 2024
Merged

Conversation

Ashad-h
Copy link
Contributor

@Ashad-h 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.

@geclos
Copy link
Collaborator

geclos commented Oct 19, 2024

Run pnpm prettier to fix any formatting issues

toolCalls: Promise.resolve(toolCalls),
},
})
}
Copy link
Collaborator

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 🙏🏼

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done :)

Copy link
Collaborator

@geclos geclos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fantastic initiative

@geclos geclos merged commit 8b3a341 into latitude-dev:main Oct 21, 2024
3 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Oct 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants