Skip to content

Commit

Permalink
feat(settings): remove openai key
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminshafii committed Apr 13, 2024
1 parent 419cd24 commit b105e70
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/FileOrganizerSettingTab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ export class FileOrganizerSettingTab extends PluginSettingTab {

containerEl.empty();

new Setting(containerEl)
.setName("OpenAI API key")
.setDesc("Enter your API Key here")
.addText((text) =>
text
.setPlaceholder("Enter your API Key")
.setValue(this.plugin.settings.API_KEY)
.onChange(async (value) => {
this.plugin.settings.API_KEY = value;
await this.plugin.saveSettings();
})
);
// new Setting(containerEl)
// .setName("OpenAI API key")
// .setDesc("Enter your API Key here")
// .addText((text) =>
// text
// .setPlaceholder("Enter your API Key")
// .setValue(this.plugin.settings.API_KEY)
// .onChange(async (value) => {
// this.plugin.settings.API_KEY = value;
// await this.plugin.saveSettings();
// })
// );

new Setting(containerEl)
.setName("Inbox folder")
Expand Down

0 comments on commit b105e70

Please sign in to comment.