pub async fn make_request_and_stream<'a>(
conn: &mut PgConnection,
chat_request: LLMRequest,
conversation_id: Uuid,
app_config: &ApplicationConfiguration,
) -> Result<(String, ResponseStreamType<'a>)>Expand description
Creates a stream with the LLMRequest and processes received OutputItems until receiving a response text or tool call. Returns: response id created by Azure (String), ResponseStreamType (type: response text or tool call) containing the created stream