Allow saving the OpenAI API key in the assistant panel

This commit is contained in:
Antonio Scandurra
2023-06-02 11:38:02 +02:00
parent d0aff65b1c
commit a81d164ea6
6 changed files with 88 additions and 5 deletions
+2
View File
@@ -976,6 +976,8 @@ pub struct AssistantStyle {
pub sent_at: ContainedText,
pub user_sender: ContainedText,
pub assistant_sender: ContainedText,
pub api_key_editor: FieldEditor,
pub api_key_prompt: ContainedText,
}
#[derive(Clone, Deserialize, Default)]