Originally created by: SAMAD101
Adds orko-providers: one engine for the OpenAI Chat Completions API, with presets for every OpenAI-compatible provider in the README. Supersedes [#25].
Closes [#3]
Closes [#4]
Closes [#5]
Closes [#7]
Closes [#8]
Closes [#9]
Closes [#10]
Closes [#11]
Closes [#12]
Closes [#13]
Closes [#14]
Closes [#16]
Closes [#17]
Closes [#18]
Closes [#19]
Closes [#20]
Closes [#21]
codec.rs): builds the request JSON and parses the SSE stream into CompletionChunks. It does no IO.transport.rs): the object-safe Transport trait plus the built-in TokioTransport (hyper 1.x, hyper-util and hyper-rustls with the platform's root certificates). The transport is behind the default transport-tokio feature and can be swapped with with_transport. Requests time out after 60 s by default.OpenAiCompatible): implements orko_core::Provider on top of the codec and the transport. Per-provider differences go in Quirks.src/providers/*.rs): openai, deepseek, gemini, groq, together, openrouter, moonshot, qwen, mistral, xai, perplexity, nvidia, zai, huggingface, ollama, vllm, llamacpp.from_str("provider:model"): builds any preset as a BoxProvider.examples/): hello_openai and hello_deepseek. Without an API key they replay a canned response.Anthropic and Bedrock need their own codecs, and Azure needs per-deployment URLs and an api-key header. Candle runs in-process, without HTTP.
cargo test --workspace. The orko-providers tests include a real HTTP round trip and a timeout test.cargo clippy --workspace --all-targets --all-features -- -D warnings--no-default-features build, and cargo doc with -D warningsstream_usage: false, based on their API docs. If either returns a 4xx, check that first.🤖 Generated with Claude Code
Tickets: #10
Tickets: #11
Tickets: #12
Tickets: #13
Tickets: #14
Tickets: #16
Tickets: #17
Tickets: #18
Tickets: #19
Tickets: #20
Tickets: #21
Tickets: #25
Tickets: #3
Tickets: #4
Tickets: #5
Tickets: #7
Tickets: #8
Tickets: #9
Ticket changed by: SAMAD101