Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/provider/chatgpt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ use super::{

const ENDPOINT: &str = "https://chatgpt.com/backend-api/codex/responses";
const MODELS_ENDPOINT: &str = "https://chatgpt.com/backend-api/codex/models";
const MODEL_CATALOG_CLIENT_VERSION: &str = "0.153.3";
const MODEL_CATALOG_CLIENT_VERSION: &str = "0.159.3";
const MAX_MODELS_BYTES: usize = 2 * 1024 * 1024;
const MAX_MODELS: usize = 1_000;
const MAX_CATALOG_MODEL_ID_BYTES: usize = 128;
Expand Down
2 changes: 1 addition & 1 deletion src/provider/chatgpt/catalog_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub(super) async fn request(listener: &TcpListener) -> TcpStream {
}
let header = String::from_utf8(header).unwrap();
assert!(
header.starts_with("GET /models?client_version="),
header.starts_with("GET /models?client_version=0.159.3 HTTP/1.1\r\n"),
"{header}"
);
stream
Expand Down
Loading