Save OpenAI API key in the keychain
This commit is contained in:
parent
a81d164ea6
commit
3750e64d9f
3 changed files with 100 additions and 63 deletions
|
@ -16,7 +16,6 @@ pub struct AssistantSettings {
|
|||
pub dock: AssistantDockPosition,
|
||||
pub default_width: f32,
|
||||
pub default_height: f32,
|
||||
pub openai_api_key: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Default, Serialize, Deserialize, JsonSchema, Debug)]
|
||||
|
@ -24,7 +23,6 @@ pub struct AssistantSettingsContent {
|
|||
pub dock: Option<AssistantDockPosition>,
|
||||
pub default_width: Option<f32>,
|
||||
pub default_height: Option<f32>,
|
||||
pub openai_api_key: Option<String>,
|
||||
}
|
||||
|
||||
impl Setting for AssistantSettings {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue