-
Notifications
You must be signed in to change notification settings - Fork 4
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
V0.26 #155
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
hverlind
commented
Mar 6, 2024
- Add support for Mistral AI (Small, Large)
- Add support for Anthropic Claude 3 (Sonnet, Opus)
- Add support for system prompt in Anthropic models
- Add support for Mistral embedding model (mistral-embed)
Role is 'function' for OpenAI but 'tool' for Mistral.
All of this logic could be reused really.
Needs a bit more cleanup by factoring out some common functionality between OpenAI and Mistral.
This includes all the logic to deal with streamed JSON functions.
This is the bit that is different between OpenAI and Mistral.
This avoids showing "(unavailable)" in usage graph (maybe elsewhere too).
This is only needed when the cell is inactive because otherwise we have a proper editor.
This feels better than only using the space needed, because the height doesn't change dynamically when you add more rows or expand a cell with a lot of content.
There is a bug in the client library (with open but unmerged pull request) that causes Gemini to fail because it replaces the global implementation of node fetch.
Doing this implicitly feels ok given it's a minor version update (i.e. we can consider the major version to always point to the last minor version). Required to be able to switch to the new messages API.
Doing this implicitly feels ok given it's a minor version update (i.e. we can consider the major version to always point to the last minor version). Required to be able to switch to the new messages API.
This is more elegant than the old hardcoded string prefixes (and more in line with other providers). Also required for the Claude 3 models.
We can't really call Claude 2 Anthropic's most powerful model anymore now that we're adding Claude 3 models.
This can be used to detect abuse (similar to OpenAI).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.