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

Stabilize anthropic byok #435

Closed
wants to merge 1 commit into from
Closed

Conversation

valaises
Copy link
Member

@valaises valaises commented Nov 21, 2024

No description provided.

@valaises valaises requested a review from olegklimov November 21, 2024 15:41
@valaises valaises self-assigned this Nov 21, 2024
@valaises valaises mentioned this pull request Nov 21, 2024
@@ -19,7 +19,7 @@ pub fn limit_messages_history(
let mut message_take: Vec<bool> = vec![false; messages.len()];
let mut have_system = false;
for (i, msg) in messages.iter().enumerate() {
let tcnt = 3 + msg.content.count_tokens(t.tokenizer.clone(), &None)?;
let tcnt = 3 + msg.content.count_tokens(t.tokenizer.clone(), "openai")?;
Copy link
Contributor

Choose a reason for hiding this comment

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

style

* Add new model configurations

* move to the bottom

WIP

Signed-off-by: V4LER11 <[email protected]>

WIP

not streaming works

basic streaming support

enable system

send tools list for anthropic

WIP

streaming tools WIP

tools seem to work

arguments empty -> empty hashmap

executing tools in parallel

safer code

vision support

rebase fixes

fix: openai does not like empty tools
@valaises valaises force-pushed the stabilize-anthropic-byok branch from 44935fa to 4bdc7f3 Compare December 19, 2024 16:00
@valaises valaises closed this Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants