presenton/electron/servers/fastapi/utils
sudipnext c8faab97d9 Refactor database URL handling and ensure SQLite parent directory creation
- Introduced a helper function `_to_sync_database_url` to standardize the conversion of async database URLs to sync URLs in `env.py` and `migrations.py`.
- Added `_ensure_sqlite_parent_dir` function in `db_utils.py` to create the parent directory for SQLite databases if it doesn't exist, ensuring compatibility with Windows paths.
- Updated the `get_database_url_and_connect_args` function to call `_ensure_sqlite_parent_dir` before processing the database URL.
- Simplified the `sync_export_runtime.js` script by removing the build step and directly using committed runtime artifacts, ensuring a smoother export process.
2026-03-16 07:47:43 +05:45
..
llm_calls updated 2026-02-20 12:02:23 +05:45
oauth Enhance authentication UI and improve chart rendering 2026-03-15 14:08:21 +05:45
__init__.py updated 2026-02-20 12:02:23 +05:45
asset_directory_utils.py feat: implement image path resolution utility to streamline image handling in FastAPI endpoints and PPTX presentation creator 2026-03-08 20:55:20 +05:45
async_iterator.py updated 2026-02-20 12:02:23 +05:45
available_models.py updated 2026-02-20 12:02:23 +05:45
datetime_utils.py updated 2026-02-20 12:02:23 +05:45
db_utils.py Refactor database URL handling and ensure SQLite parent directory creation 2026-03-16 07:47:43 +05:45
dict_utils.py updated 2026-02-20 12:02:23 +05:45
download_helpers.py updated 2026-02-20 12:02:23 +05:45
dummy_functions.py updated 2026-02-20 12:02:23 +05:45
embedding_config.py updated 2026-02-20 12:02:23 +05:45
error_handling.py updated 2026-02-20 12:02:23 +05:45
export_utils.py updated 2026-02-20 12:02:23 +05:45
file_utils.py updated 2026-02-20 12:02:23 +05:45
get_dynamic_models.py updated 2026-02-20 12:02:23 +05:45
get_env.py feat: implement database migration on startup and update dependencies for FastAPI 2026-03-08 20:05:44 +05:45
get_layout_by_name.py updated 2026-02-20 12:02:23 +05:45
image_provider.py updated 2026-02-20 12:02:23 +05:45
image_utils.py updated 2026-02-20 12:02:23 +05:45
llm_client_error_handler.py updated 2026-02-20 12:02:23 +05:45
llm_provider.py feat: integrate Codex OAuth flow and enhance user configuration 2026-02-28 09:08:10 +05:45
model_availability.py updated 2026-02-20 12:02:23 +05:45
ollama.py updated 2026-02-20 12:02:23 +05:45
onnx_windows_bootstrap.py updated 2026-02-20 12:02:23 +05:45
parsers.py updated 2026-02-20 12:02:23 +05:45
path_helpers.py updated 2026-02-20 12:02:23 +05:45
ppt_utils.py updated 2026-02-20 12:02:23 +05:45
process_slides.py feat: implement unified setup installer for LibreOffice and Chromium dependencies 2026-03-11 20:31:34 +05:45
schema_utils.py feat: update version to 0.6.1-beta and ensure array schemas have items in JSON responses 2026-03-02 17:11:25 +05:45
set_env.py feat: integrate Codex OAuth flow and enhance user configuration 2026-02-28 09:08:10 +05:45
user_config.py feat: integrate Codex OAuth flow and enhance user configuration 2026-02-28 09:08:10 +05:45
validators.py updated 2026-02-20 12:02:23 +05:45