Crate chronicle_proxy
source ·Re-exports§
pub use error::Error;
Modules§
- The common format for requests. This mostly hews to the OpenAI format except some response fields are made optional to accomodate different model providers.
- Utilities for retrying a provider request as needed.
Structs§
- Metadata about the internal source of this request. Mostly useful for multi-tenant scenarios where one proxy server is handling requests from multiple unrelated applications.
- Metadata about the request and how it fits into the system as a whole. All of these fields are optional, and the
extra
field can be used to add anything else that useful for your use case.
Functions§
- Collect a stream contents into a single response