-
Notifications
You must be signed in to change notification settings - Fork 6.7k
fix parallel tool calls #7956
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
base: main
Are you sure you want to change the base?
fix parallel tool calls #7956
Conversation
|
@codex review this |
| config.model_provider.stream_max_retries = Some(0); | ||
| config.model_provider.stream_idle_timeout_ms = Some(5_000); | ||
| }); | ||
| let test = builder.build(&mock_server).await?; |
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.
Feels pretty useless, to pass mock server here.
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.
the only thing we need from server is the URI, consider an overload maybe?
you can hide let base_url = format!("{}/v1", streaming_server.uri()); there.
| builder = builder.with_config(move |config| { | ||
| config.model_provider.base_url = Some(base_url); | ||
| config.model_provider.request_max_retries = Some(0); | ||
| config.model_provider.stream_max_retries = Some(0); |
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.
Ideally we don't need to set these in the test.
|
Codex Review: Didn't find any major issues. Hooray! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
No description provided.