Skip to content

Commit d3a9420

Browse files
committed
Fix settings
1 parent 583cd1a commit d3a9420

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/askai/core/askai_settings.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class AskAiSettings(metaclass=Singleton):
4343
INSTANCE: "AskAiSettings"
4444

4545
# Current settings version. Updating this value will trigger a database recreation using the defaults.
46-
_ACTUAL_VERSION: str = "0.2.0"
46+
_ACTUAL_VERSION: str = "0.2.1"
4747

4848
RESOURCE_DIR = str(classpath.resource_path())
4949

@@ -123,10 +123,10 @@ def defaults(self) -> None:
123123
self._settings.put("askai.camera.min-max.size", "askai", "100, 100")
124124
self._settings.put("askai.camera.identity.max.distance", "askai", 0.70)
125125
# OpenAI
126-
self._settings.put("askai.openai.speech.to.text.model", "openai", "whisper-1")
127-
self._settings.put("askai.openai.text.to.speech.model", "openai", "tts-1")
128-
self._settings.put("askai.openai.text.to.speech.voice", "openai", "onyx")
129-
self._settings.put("askai.openai.text.to.speech.audio.format", "openai", "mp3")
126+
self._settings.put("askai.openai.speech.to.text.model", "askai", "whisper-1")
127+
self._settings.put("askai.openai.text.to.speech.model", "askai", "tts-1")
128+
self._settings.put("askai.openai.text.to.speech.voice", "askai", "onyx")
129+
self._settings.put("askai.openai.text.to.speech.audio.format", "askai", "mp3")
130130
log.debug(f"Settings database created !")
131131

132132
def get(self, key: str, default_value: str | None = "") -> str:

0 commit comments

Comments
 (0)