mirror of
https://github.com/openai/codex.git
synced 2026-05-05 05:42:33 +03:00
Introduce ModelsManager and migrate app-server to use it. (#7552)
This commit is contained in:
@@ -1201,4 +1201,8 @@ impl AuthManager {
|
||||
self.reload();
|
||||
Ok(removed)
|
||||
}
|
||||
|
||||
pub fn get_auth_mode(&self) -> Option<AuthMode> {
|
||||
self.auth().map(|a| a.mode)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user