mirror of
https://github.com/openai/codex.git
synced 2026-12-03 00:41:03 +00:00
## What changed Have the TUI and `codex exec` pass the selected provider, optional model, and HTTP client factory to shared OSS setup. Validate the provider's `base_url` there and connect to Ollama or LM Studio using that URL and factory. Return a configuration error when Ollama's URL is missing. Remove the runtime dependency on `codex-core` from the OSS utilities and both provider crates. Enable the existing Rustls key exchange preference and vendored OpenSSL for musl builds directly in the provider crates. ## Testing Add coverage for the error returned by each provider when `base_url` is missing. Extend the Ollama client reuse test to check readiness for an explicitly selected, already installed model. GitOrigin-RevId: 747ed51c6fcfa2a0ffc61ba5aa8ea4d033450241
22 lines
458 B
TOML
22 lines
458 B
TOML
[package]
|
|
name = "codex-utils-oss"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
codex-http-client = { workspace = true }
|
|
codex-lmstudio = { workspace = true }
|
|
codex-model-provider-info = { workspace = true }
|
|
codex-ollama = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
pretty_assertions = { workspace = true }
|
|
tokio = { workspace = true, features = ["macros", "rt"] }
|
|
|
|
[lib]
|
|
doctest = false
|