Skip to main content

resolve_openai_api_key_for_auth

Function resolve_openai_api_key_for_auth 

Source
pub fn resolve_openai_api_key_for_auth(
    storage_mode: AuthCredentialsStoreMode,
    allow_chatgpt_fallback: bool,
) -> Result<Option<String>>
Expand description

Resolve the API-key input for OpenAI account authentication.