Skip to main content

anthropic_handler

Function anthropic_handler 

Source
pub async fn anthropic_handler(
    __arg0: State<ProxyState>,
    uri: Uri,
    headers: HeaderMap,
    body: Bytes,
) -> Response
Expand description

POST /v1/messages — optimize and forward to Anthropic.