pub async fn call_openai_streaming(
http: &Client,
req: &StreamRequest,
tx: Sender<StreamChunk>,
) -> Result<()>Expand description
Call OpenAI-compatible endpoint with streaming. Sends chunks to the provided channel.
pub async fn call_openai_streaming(
http: &Client,
req: &StreamRequest,
tx: Sender<StreamChunk>,
) -> Result<()>Call OpenAI-compatible endpoint with streaming. Sends chunks to the provided channel.