mirror of
https://github.com/openai/codex.git
synced 2026-11-12 14:41:42 +00:00
Route LM Studio requests through the shared HTTP client (#34678)
## What changed - Use the configured route-aware HTTP client pool for LM Studio server requests. - Add connection-timeout support to `HttpClientBuilder` and route-aware pools, and keep LM Studio's five-second limit scoped to connection establishment. - Verify that LM Studio accepts a response that arrives after the connection timeout has elapsed once the connection is established. GitOrigin-RevId: c4300f4b5d37c4418822783ab09cb50d506ee423
This commit is contained in:
1 parent
4f3852107e
commit
21db216db0
7 files changed
+161
-118
No files matched your search
@@ -12,8 +12,8 @@ doctest = false
|
||||
|
||||
[dependencies]
|
||||
codex-core = { path = "../core" }
|
||||
codex-http-client = { workspace = true }
|
||||
codex-model-provider-info = { path = "../model-provider-info" }
|
||||
reqwest = { version = "0.12", features = ["json", "stream"] }
|
||||
serde_json = "1"
|
||||
tokio = { version = "1", features = ["rt"] }
|
||||
tracing = { version = "0.1.44", features = ["log"] }
|
||||
|
||||
Reference in new issue
Block a user