ZIm/crates/language_model/src
Thorsten Ball aee01f2c50
assistant: Remove low_speed_timeout (#20681)
This removes the `low_speed_timeout` setting from all providers as a
response to issue #19509.

Reason being that the original `low_speed_timeout` was only as part of
#9913 because users wanted to _get rid of timeouts_. They wanted to bump
the default timeout from 5sec to a lot more.

Then, in the meantime, the meaning of `low_speed_timeout` changed in
#19055 and was changed to a normal `timeout`, which is a different thing
and breaks slower LLMs that don't reply with a complete response in the
configured timeout.

So we figured: let's remove the whole thing and replace it with a
default _connect_ timeout to make sure that we can connect to a server
in 10s, but then give the server as long as it wants to complete its
response.

Closes #19509

Release Notes:

- Removed the `low_speed_timeout` setting from LLM provider settings,
since it was only used to _increase_ the timeout to give LLMs more time,
but since we don't have any other use for it, we simply remove the
setting to give LLMs as long as they need.

---------

Co-authored-by: Antonio <antonio@zed.dev>
Co-authored-by: Peter Tripp <peter@zed.dev>
2024-11-15 07:37:31 +01:00
..
model Remove Qwen2 model (#18444) 2024-09-27 13:30:25 -04:00
provider assistant: Remove low_speed_timeout (#20681) 2024-11-15 07:37:31 +01:00
language_model.rs assistant: Add health telemetry (#19928) 2024-10-31 16:21:26 -07:00
logging.rs assistant: Add health telemetry (#19928) 2024-10-31 16:21:26 -07:00
provider.rs Add GitHub Copilot Chat Support (#14842) 2024-07-30 09:32:58 +02:00
rate_limiter.rs Allow customization of the model used for tool calling (#15479) 2024-07-30 16:18:53 +02:00
registry.rs assistant: Add support for displaying billing-related errors (#19082) 2024-10-11 13:22:45 -04:00
request.rs Allow Anthropic custom models to override temperature (#18160) 2024-09-20 14:59:12 -06:00
role.rs Restructure workflow step resolution and fix inserting newlines (#15720) 2024-08-05 09:18:06 +02:00
settings.rs assistant: Remove low_speed_timeout (#20681) 2024-11-15 07:37:31 +01:00