refactor: isolate database migrations and model defaults
This commit is contained in:
@@ -42,7 +42,10 @@ def configure_logging() -> None:
|
||||
|
||||
|
||||
def create_services(settings: AppSettings) -> ApplicationServices:
|
||||
storage = AssistantStorage(settings.db_path)
|
||||
storage = AssistantStorage(
|
||||
settings.db_path,
|
||||
default_models=settings.default_models(),
|
||||
)
|
||||
ai_client: AIClient
|
||||
speech_recognizer: SpeechTranscriber
|
||||
if settings.mode == "local":
|
||||
|
||||
Reference in New Issue
Block a user