Skip to main content

build_model_response

Function build_model_response 

Source
pub async fn build_model_response(
    config: &Config,
    llm_provider_overrides: Arc<RwLock<HashMap<String, String>>>,
    llm_model_overrides: Arc<RwLock<HashMap<String, String>>>,
    caller_channel: &str,
    _chat_id: i64,
    command_text: &str,
) -> String