mattrguerra/cortexmainPrivate on GitHub, published here in full

mod.rs

Language Rust218 B8 lines

crates/cortex-core/src/provider/mod.rs

  1. pub mod client;
  2. pub mod error;
  3. pub mod openai;
  4. pub mod sse;
  5. pub use client::{Client, StreamItem, StreamOutcome, DEEPINFRA_BASE};
  6. pub use error::ProviderError;
  7. pub use openai::{ChatRequest, OutMessage, StreamOptions};