You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fnuse_client<C:Config>(client:Box<dynCommonClientTrait<ConfigType = C>>){// You can now call any method defined in the CommonClientTrait on the clientlet models = client.models();// ...}fnmain(){let openai_config = OpenAIConfig::default();let openai_client = Client::with_config(openai_config);use_client(Box::new(openai_client));let azure_config = AzureConfig::default();let azure_client = Client::with_config(azure_config);use_client(Box::new(azure_client));}