Skip to content

Commit

Permalink
remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
clairefro committed Jan 4, 2024
1 parent 2523383 commit 4a84af1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ export default class ChatCbtPlugin extends Plugin {
const selectedModel = this.settings.model
? this.settings.model
: this.settings.mode === 'openai'
? 'gpt-3.5-turbo'
: 'mistral';
? 'gpt-3.5-turbo'
: 'mistral';
const loadingModal = new TextModel(
this.app,
`Asking ChatCBT... (mode: '${this.settings.mode}', model: '${selectedModel}')`,
Expand Down Expand Up @@ -262,7 +262,6 @@ class MySettingTab extends PluginSettingTab {
toggle
.setValue(this.plugin.settings.mode === 'openai' ? false : true)
.onChange(async (value) => {
console.log({ value });
if (value) {
this.plugin.settings.mode = 'ollama';
} else {
Expand Down

0 comments on commit 4a84af1

Please sign in to comment.