Skip to content

feat(llm): add host cloud provider build options - #23

Merged
senamakel merged 1 commit into
epic/8092-inference-outfrom
epic-8092-u11-cloud-build-options
Oct 19, 2026
Merged

senamakel merged 1 commit into
epic/8092-inference-outfrom
epic-8092-u11-cloud-build-options

Conversation

@senamakel

@senamakel senamakel commented Oct 19, 2026 •

Copy link
Copy Markdown
Owner

Cloud provider construction needs to preserve host-selected bearer identity, transport policy, and model fallback semantics. This adds explicit Codex OAuth routing and reusable wire identity, a typed-route discovery helper that preserves the existing spec-based API, typed slug fallback resolution, and PEM CA support layered onto a host-configured HTTP builder. Injected clients remain authoritative, and host-owned credential lookup stays outside TinyInference.

The existing ProviderRegistry::discovery_request(&ProviderSpec, &ProviderBuildOptions) remains source-compatible; route discovery is additive. ProviderBuildOptions reuses its existing header/query fields and accepts a lifetime-bound builder factory plus optional CA bundle. Tests cover OAuth-vs-standard routing, Codex request headers/query, model fallback errors and raw model identifiers, route discovery/bypass, client precedence, proxy retention, and local TLS trust.

All six push and PR checks passed on exact head 417a3d00bff1a232485250a617503d1d9e961fb8. The PR is ready for review. Canonical publication and release remain part of the final epic rollup.

Local validation passed:

  • cargo fmt --manifest-path vendor/tinyagents/vendor/tinyinference/Cargo.toml --all -- --check
  • cargo clippy --manifest-path vendor/tinyagents/vendor/tinyinference/Cargo.toml --all-targets --all-features -- -D warnings
  • cargo build --manifest-path vendor/tinyagents/vendor/tinyinference/Cargo.toml --all-targets --all-features
  • cargo test --manifest-path vendor/tinyagents/vendor/tinyinference/Cargo.toml --all-features
  • RUSTDOCFLAGS="-D warnings" cargo doc --manifest-path vendor/tinyagents/vendor/tinyinference/Cargo.toml --no-deps --all-features
  • Push CI run 39182602808 on this head passed Rust 1.88 MSRV, Supply chain, and stable CI.

Refs #11
Part of tinyhumansai/openhuman#8092

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant