Add Tauri integration and server management features. Introduced auto-start functionality for the bundled server in Tauri environment, added configuration management for data directories, and refactored backend components to utilize the new config module. Updated dependencies and improved project structure for better organization.

This commit is contained in:
Jamie Pine
2026-01-25 04:25:45 -08:00
parent 6164877f7f
commit d14aca2267
19 changed files with 432 additions and 60 deletions
+4 -3
View File
@@ -12,11 +12,12 @@ from sqlalchemy import or_
from .models import GenerationRequest, GenerationResponse, HistoryQuery, HistoryResponse, HistoryListResponse
from .database import Generation as DBGeneration, VoiceProfile as DBVoiceProfile
from . import config
# Generations storage directory
GENERATIONS_DIR = Path("data/generations")
GENERATIONS_DIR.mkdir(parents=True, exist_ok=True)
def _get_generations_dir() -> Path:
"""Get generations directory from config."""
return config.get_generations_dir()
async def create_generation(