Files
oak-gpui/crates
Marshall Bowers 0d26beb91b Add configurable low-speed timeout for OpenAI provider (#11668)
This PR adds a setting to allow configuring the low-speed timeout for
the Assistant when using the OpenAI provider.

The `low_speed_timeout_in_seconds` accepts a number of seconds that the
HTTP client can go below a minimum speed limit (currently set to 100
bytes/second) before it times out.

```json
{
  "assistant": {
    "version": "1",
    "provider": { "name": "openai", "low_speed_timeout_in_seconds": 60 }
  },
}
```

This should help the case where the `openai` provider is being used with
a local model that requires higher timeouts.

Issue: https://github.com/zed-industries/zed/issues/9913

Release Notes:

- Added a `low_speed_timeout_in_seconds` setting to the Assistant's
OpenAI provider
([#9913](https://github.com/zed-industries/zed/issues/9913)).
2024-05-10 13:19:21 -04:00
..
2024-05-03 12:50:42 -07:00
2024-04-23 15:33:09 -06:00
2024-05-09 21:08:49 -06:00
2024-05-09 21:08:49 -06:00
2024-04-23 13:31:21 -04:00
2024-05-09 21:08:49 -06:00
2024-03-28 18:32:11 +01:00
2024-04-11 15:36:35 -06:00
2024-05-09 21:08:49 -06:00
2024-04-30 23:31:59 -06:00
2024-05-03 12:50:42 -07:00
2024-05-09 21:08:49 -06:00
2024-03-11 10:45:57 +01:00
2024-05-05 15:02:50 +02:00
2024-03-26 16:10:09 -07:00
2024-04-26 13:25:25 -06:00
2024-05-09 21:08:49 -06:00
2024-05-06 12:58:11 +02:00
2024-05-05 15:02:50 +02:00
2024-05-07 15:38:03 -07:00
2024-05-03 12:50:42 -07:00
2024-04-11 23:09:12 +02:00
2024-05-09 21:08:49 -06:00
2024-05-05 15:02:50 +02:00
2024-04-15 14:21:52 +02:00
2024-05-09 21:18:56 -06:00
2024-05-03 12:50:42 -07:00
2024-05-09 21:08:49 -06:00