pub async fn process_batch_sequential<T: ChatApi + ?Sized>(
api: &T,
requests: Vec<ChatCompletionRequest>,
) -> Result<Vec<Result<ChatCompletionResponse, AiLibError>>, AiLibError>
Expand description
顺序处理批处理请求的实现
Sequential batch processing implementation