c71f052276
Add ability to use o1-preview and o1-mini as custom models ( #17804 )
...
This is a barebones modification of the OpenAI provider code to
accommodate non-streaming completions. This is specifically for the o1
models, which do not support streaming. Tested that this is working by
running a `/workflow` with the following (arbitrarily chosen) settings:
```json
{
"language_models": {
"openai": {
"version": "1",
"available_models": [
{
"name": "o1-preview",
"display_name": "o1-preview",
"max_tokens": 128000,
"max_completion_tokens": 30000
},
{
"name": "o1-mini",
"display_name": "o1-mini",
"max_tokens": 128000,
"max_completion_tokens": 20000
}
]
}
},
}
```
Release Notes:
- Changed `low_speed_timeout_in_seconds` option to `600` for OpenAI
provider to accommodate recent o1 model release.
---------
Co-authored-by: Peter <peter@zed.dev >
Co-authored-by: Bennet <bennet@zed.dev >
Co-authored-by: Marshall Bowers <elliott.codes@gmail.com >
2024-09-13 15:42:15 -04:00
..
2024-08-30 14:36:38 -07:00
2024-09-06 11:58:39 +02:00
2024-08-06 19:30:48 -06:00
2024-09-13 15:42:15 -04:00
2024-08-16 10:09:38 -07:00
2024-09-04 14:32:20 -04:00
2024-09-06 11:58:39 +02:00
2024-09-12 14:46:08 -04:00
2024-09-06 11:58:39 +02:00
2024-09-12 14:46:08 -04:00
2024-09-06 11:58:39 +02:00
2024-08-29 18:09:06 +02:00
2024-09-12 14:46:08 -04:00
2024-07-10 17:36:22 +02:00
2024-09-13 13:17:49 -04:00
2024-09-12 14:46:08 -04:00
2024-03-29 17:09:49 -07:00
2024-09-06 11:58:39 +02:00
2024-09-06 11:58:39 +02:00
2024-09-06 11:58:39 +02:00
2024-09-07 00:51:09 -04:00
2024-09-06 11:58:39 +02:00
2024-09-06 11:58:39 +02:00
2024-09-12 14:46:08 -04:00
2024-08-26 11:43:13 -04:00
2024-09-13 15:11:10 -04:00
2024-09-13 10:54:23 -04:00
2024-09-13 14:49:50 -04:00
2024-09-06 11:58:39 +02:00
2024-09-12 14:46:08 -04:00
2024-09-13 13:17:49 -04:00
2024-09-06 11:58:39 +02:00
2024-09-07 02:36:55 +02:00
2024-07-29 14:21:41 +02:00
2024-09-13 13:17:49 -04:00
2024-04-30 23:31:59 -06:00
2024-08-13 23:06:07 -07:00
2024-09-13 13:17:49 -04:00
2024-07-23 15:01:05 -07:00
2024-09-12 14:46:08 -04:00
2024-09-10 13:41:06 -04:00
2024-09-12 16:15:20 -04:00
2024-09-06 11:58:39 +02:00
2024-09-06 11:58:39 +02:00
2024-09-06 11:58:39 +02:00
2024-09-13 13:17:49 -04:00
2024-09-06 11:58:39 +02:00
2024-09-06 11:58:39 +02:00
2024-09-06 11:58:39 +02:00
2024-09-06 11:58:39 +02:00
2024-09-13 15:11:10 -04:00
2024-09-13 15:42:15 -04:00
2024-09-10 15:51:01 -04:00
2024-09-10 15:51:01 -04:00
2024-09-13 08:11:27 -04:00
2024-09-06 11:58:39 +02:00
2024-07-26 21:10:56 -04:00
2024-09-11 12:56:39 -04:00
2024-09-10 11:16:27 -04:00
2024-09-10 15:51:01 -04:00
2024-08-28 22:12:49 -07:00
2024-07-15 17:04:15 -06:00
2024-09-06 11:58:39 +02:00
2024-09-06 11:58:39 +02:00
2024-08-13 01:43:19 +02:00
2024-09-05 11:05:57 -04:00
2024-09-13 15:42:15 -04:00
2024-09-06 11:58:39 +02:00
2024-09-12 14:46:08 -04:00
2024-09-10 15:25:57 -04:00
2024-09-06 11:58:39 +02:00
2024-07-13 21:59:14 +03:00
2024-09-12 15:23:27 -04:00
2024-09-13 13:17:49 -04:00
2024-07-19 11:13:15 +02:00
2024-09-13 13:17:49 -04:00
2024-09-10 15:51:01 -04:00
2024-09-12 14:46:08 -04:00
2024-09-06 11:58:39 +02:00
2024-09-10 15:51:01 -04:00
2024-09-10 16:41:29 -04:00
2024-09-12 14:46:08 -04:00
2024-09-10 11:16:27 -04:00
2024-09-06 11:58:39 +02:00
2024-09-06 11:58:39 +02:00
2024-09-07 19:58:28 -04:00
2024-09-13 13:17:49 -04:00
2024-03-29 12:11:57 -04:00
2024-09-06 11:58:39 +02:00
2024-09-07 00:51:09 -04:00
2024-09-06 11:58:39 +02:00
2024-07-22 00:57:34 +02:00
2024-09-06 15:47:17 +02:00
2024-09-06 11:58:39 +02:00
2024-08-20 14:27:33 -04:00
2024-09-06 11:58:39 +02:00
2024-09-07 02:36:55 +02:00
2024-09-06 11:58:39 +02:00
2024-09-06 11:58:39 +02:00
2024-09-06 11:58:39 +02:00
2024-08-27 00:51:51 +03:00
2024-09-06 11:58:39 +02:00
2024-09-12 14:46:08 -04:00
2024-08-21 20:24:35 -04:00
2024-09-07 10:51:02 -04:00
2024-09-06 11:58:39 +02:00
2024-09-06 11:58:39 +02:00
2024-09-06 11:58:39 +02:00
2024-09-07 02:36:55 +02:00
2024-07-24 16:25:52 -04:00
2024-09-06 11:58:39 +02:00
2024-09-13 11:51:14 -07:00
2024-09-09 07:22:16 -04:00
2024-07-08 17:05:30 -04:00
2024-09-12 09:11:19 -04:00
2024-09-06 11:58:39 +02:00
2024-09-13 15:11:10 -04:00
2024-09-12 14:46:08 -04:00
2024-09-13 15:17:01 -04:00
2024-09-13 13:17:49 -04:00
2024-09-12 14:46:08 -04:00
2024-08-26 01:01:46 +03:00