Skip to main content

forward

Function forward 

Source
pub(super) async fn forward(
    grant: &Grant,
    route: &'static Route,
    model: &'static Model,
    profile: Profile,
    region: &str,
    key: &str,
    request: &[u8],
) -> Response
Expand description

A request to a model that speaks Chat Completions, for the harness that speaks Messages.