-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(c): added support for Claude v2 and the new Anthropic streaming api
feat(anthropic): add version header feat(c): add Claude2 model - Added `Claude2` model enum variant fix(c): handle stop reasons - Added logic to handle `stop_reason` in streaming response fix(c): make max_tokens_to_sample required - Made `max_tokens_to_sample` required and changed type to `u32` fix(c): default max_supported_tokens - Defaulted `max_supported_tokens` to 4096 and calculated `max_tokens_to_sample` if not provided fix(c): remove spinner logic - Removed spinner logic from `openai.rs` fix(c): remove truncated field - Removed `truncated` field from `Chunk` refactor(c): update logic - Updated `CompleteCreateCommand` in `anthropic.rs`
- Loading branch information
1 parent
3fe3464
commit 921be77
Showing
6 changed files
with
40 additions
and
26 deletions.
There are no files selected for viewing
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
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
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
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
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
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