magicapi-ai-gateway 1.0.0

[DEPRECATED] This package has been renamed to 'noveum-ai-gateway'. Please use the new package for all future development. A high-performance AI Gateway proxy for routing requests to various AI providers, offering seamless integration and management of multiple AI providers.
use axum::http::HeaderMap;
use serde_json::Value;

#[derive(Debug, Clone)]
pub struct RequestContext {
    pub model: String,
    pub request_body: Value,
    pub headers: HeaderMap,
}

impl RequestContext {
    pub fn new(model: String, request_body: Value, headers: HeaderMap) -> Self {
        Self {
            model,
            request_body,
            headers,
        }
    }
}