Skip to main content

get_default_model

Function get_default_model 

Source
pub fn get_default_model() -> Arc<Option<String>> 
Expand description

Reads OPENAI_API_DEFAULT_MODEL into a shared optional value.

Unset or non-Unicode values become None. Empty strings are accepted, and the returned value does not track subsequent environment changes.