Skip to main content

handle_chat_request

Function handle_chat_request 

Source
pub fn handle_chat_request(
    incoming_req: Request,
    config: FastlyAgentConfig,
    backend_name: &str,
) -> Result<Response>
Expand description

Create a simple chat completion handler for Fastly

This is a convenience function for simple use cases.