presenton/servers/fastapi/utils
sudipnext 3d06644914 feat: update placeholder image references and improve asset handling
- Replaced all instances of the placeholder image path from "/static/images/placeholder.jpg" to "/static/images/replaceable_template_image.png".
- Added a new Nginx location block for serving app data with a long cache expiration.
- Enhanced the image generation service to return the new template image when generation fails.
- Updated various services and endpoints to ensure consistent handling of asset paths, including resolving backend asset URLs.
- Removed Electron-specific checks from several components to streamline API calls and improve compatibility with web deployments.
- Improved error handling and logging in the PDF export process.
- Adjusted Next.js configuration for API routing to ensure proper asset serving in Docker environments.
2026-04-18 20:56:37 +05:45
..
llm_calls feat: add support for optional embedded Ollama and enhance database migration handling 2026-04-15 15:39:35 +05:45
oauth feat: update placeholder image references and improve asset handling 2026-04-18 20:56:37 +05:45
__init__.py feat(fastapi): adds get presentation from id endpoint 2025-07-17 00:27:49 +05:45
asset_directory_utils.py feat: update placeholder image references and improve asset handling 2026-04-18 20:56:37 +05:45
async_iterator.py fix(fastapi): uses google genai client for gemini calls 2025-07-16 20:43:20 +05:45
available_models.py feat(fastapi): adds strict support for every schemas, proper models check, refactor 2025-08-01 00:15:03 +05:45
datetime_utils.py feat: adds tone, verbosity and refactors tables 2025-08-29 10:52:34 +05:45
db_utils.py feat: add support for optional embedded Ollama and enhance database migration handling 2026-04-15 15:39:35 +05:45
dict_utils.py feat(fastapi): adds strict support for every schemas, proper models check, refactor 2025-08-01 00:15:03 +05:45
download_helpers.py feat: adds tone, verbosity and refactors tables 2025-08-29 10:52:34 +05:45
dummy_functions.py feat(fastapi): generate and stream implementation for openai with agentic behavior 2025-08-08 02:49:51 +05:45
error_handling.py fix(fastapi+nextjs): provides default height and width if not available, provides presentation json in sse complete response in outlines 2025-07-26 02:13:54 +05:45
export_utils.py fix(fastapi): /edit, /derive and /export endpoints 2025-09-12 02:27:59 +05:45
file_utils.py feat: adds table of contents, title slide, web search options in both UI and API Endpoints 2025-09-07 22:06:22 +05:45
get_dynamic_models.py feat: update Codex model versions and enhance content length limits 2026-03-27 18:30:03 +05:45
get_env.py Refactor code structure and remove redundant changes in multiple sections 2026-04-16 13:33:21 +05:45
get_layout_by_name.py Refactor code structure and remove redundant changes in multiple sections 2026-04-16 13:33:21 +05:45
image_provider.py feat: adds gpt image 1.5 2025-12-21 01:14:31 +05:45
image_utils.py fix(nextjs+fastapi): adds invert in pptx picture box model, which when set inverts the image during export 2025-07-26 20:25:29 +05:45
llm_client_error_handler.py feat(fastapi): uses better json loader that parses dirty json 2025-09-12 01:28:59 +05:45
llm_provider.py feat: add support for optional embedded Ollama and enhance database migration handling 2026-04-15 15:39:35 +05:45
model_availability.py feat: adds gpt image 1.5 2025-12-21 01:14:31 +05:45
ocr_language.py feat: update placeholder image references and improve asset handling 2026-04-18 20:56:37 +05:45
ollama.py fix: default ollama url 2025-11-28 02:56:33 +05:45
outline_utils.py feat: add support for optional embedded Ollama and enhance database migration handling 2026-04-15 15:39:35 +05:45
parsers.py feat: adds options to select between tool calls/json schema and enable disable thinking for custom models 2025-08-04 14:50:55 +05:45
path_helpers.py feat: update placeholder image references and improve asset handling 2026-04-18 20:56:37 +05:45
ppt_utils.py feat: adds table of contents, title slide, web search options in both UI and API Endpoints 2025-09-07 22:06:22 +05:45
process_slides.py feat: update placeholder image references and improve asset handling 2026-04-18 20:56:37 +05:45
schema_utils.py feat: add support for optional embedded Ollama and enhance database migration handling 2026-04-15 15:39:35 +05:45
set_env.py feat: add support for optional embedded Ollama and enhance database migration handling 2026-04-15 15:39:35 +05:45
theme_utils.py feat: add theme management endpoints, integrate color palette generation and UI implementation 2026-03-02 23:15:15 +05:45
user_config.py feat: add support for optional embedded Ollama and enhance database migration handling 2026-04-15 15:39:35 +05:45
validators.py feat: add support for optional embedded Ollama and enhance database migration handling 2026-04-15 15:39:35 +05:45