Commit graph

160 commits

Author SHA1 Message Date
sudipnext
8c3bc13542 Merge branch 'main' into refactor/presenton-chat-stream 2026-04-27 19:54:01 +05:45
sudipnext
4e87dc8b70 refactor: Update database session management and enhance chat memory services
- Replaced `get_container_db_async_session` with `async_session_maker` for improved session handling in background tasks.
- Refactored chat memory services to utilize a shared `mem0` client for better memory management.
- Introduced new methods for retrieving and storing chat history, integrating with SQL and memory layers.
- Enhanced error handling and response management in chat-related services.
- Cleaned up unused code and improved overall structure for maintainability.
2026-04-25 19:10:39 +05:45
sudipnext
17ea7d9f95 feat: Implement streaming chat functionality in FastAPI and update UI
- Added a new endpoint for streaming chat messages in FastAPI, allowing real-time interaction.
- Enhanced the `PresentationChatService` to support streaming replies with event types for chunked responses, status updates, and tool tracing.
- Updated the chat UI to handle and display assistant activities, including loading states and tool usage.
- Introduced new models for SSE responses and integrated them into the chat service.
- Improved error handling and response management in the chat API.
2026-04-25 15:49:39 +05:45
sauravniraula
11904c6cb0
refactor: cleans old unused export files from both docker and electron and uses package for export 2026-04-24 10:12:23 +05:45
sudipnext
efd69cc134 Add chat functionality to FastAPI presentation service
- Introduced a new chat endpoint for handling user messages and generating responses.
- Added models for chat message requests and responses.
- Implemented a conversation store to manage chat history.
- Integrated memory layer for retrieving presentation context.
- Created tools for accessing presentation outlines and searching slides.
- Updated dependencies to include jsonschema for validation.
- Enhanced the API router to include the new chat functionality.
2026-04-24 09:34:56 +05:45
sauravniraula
f76d17314a
feat: integrates llmai instead of using old llm client and tool call handlers 2026-04-23 11:42:15 +05:45
sudipnext
7552be0bf2 fix: update authentication response handling in FastAPI and Next.js to reflect account setup status 2026-04-22 13:00:45 +05:45
sudipnext
effa9ad026 feat: implement single-user authentication with environment variable support and update FastAPI middleware for session management 2026-04-21 17:41:37 +05:45
sudipnext
e0a66c8963 Refactor code structure for improved readability and maintainability 2026-04-20 19:47:59 +05:45
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
sudipnext
a3a6a1acd2 Refactor code structure and remove redundant changes in multiple sections 2026-04-16 13:33:21 +05:45
sudipnext
c7860127f2 feat: add support for optional embedded Ollama and enhance database migration handling
- Updated docker-compose.yml to allow disabling embedded Ollama via environment variable.
- Refactored Dockerfile and Dockerfile.dev for improved dependency management and installation process.
- Enhanced FastAPI migration scripts to handle orphaned Alembic revisions and added new database migration logic.
- Improved error handling in background tasks and Codex authentication endpoints.
- Added support for font file uploads with better validation and extraction of font names.
- Introduced new image search functionality with support for Pexels and Pixabay APIs.
2026-04-15 15:39:35 +05:45
sudipnext
bed2d56074 refactor: streamline image path resolution in FastAPI endpoints and PPTX presentation creator using new utility function 2026-03-08 21:08:27 +05:45
shiva raj badu
28f2b18e06
feat: completed theme & custom theme UI 2026-03-03 10:50:11 +05:45
shiva raj badu
ef078d57d2
feat: add theme management endpoints, integrate color palette generation and UI implementation 2026-03-02 23:15:15 +05:45
sudipnext
1523511e97 feat: optimize asset fetching by starting tasks immediately for parallel processing 2026-03-02 17:17:46 +05:45
sudipnext
d2e85a8ffa feat: implement Codex OAuth flow and integrate into application
- Added Codex authentication endpoints and logic for OAuth flow.
- Updated Docker configuration to expose port 1455 for Codex callback.
- Enhanced user configuration model to include Codex-related fields.
- Integrated Codex selection into the LLM provider UI.
- Implemented token management and refresh logic for Codex.
- Added utility functions for handling Codex OAuth tokens and state management.
2026-02-24 18:51:35 +05:45
sauravniraula
1e7950670f
fix: issue with document loader in API endpoints 2025-11-13 03:35:42 +05:45
sauravniraula
60f030abf7
chore(fastapi): refactor webhook id to use different format 2025-09-16 18:06:59 +05:45
sauravniraula
f13c58e805
fix(fastapi): issue on check if request is valid method response 2025-09-16 17:46:53 +05:45
Saurav Niraula
527d3eb890
Merge branch 'main' into feat/mock-endpoints 2025-09-16 17:36:07 +05:45
Saurav Niraula
e8af94d4a5
Merge pull request #293 from presenton/feat/webhook-support
feat(fastapi): adds webhook support which lets you listen to events
2025-09-16 17:34:55 +05:45
sauravniraula
8ba149c6f0
feat(fastapi): adds mock endpoints for webhook events 2025-09-16 17:33:34 +05:45
sauravniraula
b964e2d9e1
feat(fastapi): adds webhook support which lets you listen to events 2025-09-16 17:31:22 +05:45
sauravniraula
32e91732ad
feat(fastapi): adds async endpoint for presentation generation and status check 2025-09-16 17:27:04 +05:45
sauravniraula
c6ca4fe8a7
fix(fastapi): yield SSEErrorResponse on outline parse instead of raising 2025-09-15 22:08:17 +05:45
sauravniraula
7e4cf73f68
chore: adds exception traceback.print in outlines 2025-09-12 02:47:50 +05:45
sauravniraula
cc78faea73
fix(fastapi): /edit, /derive and /export endpoints 2025-09-12 02:27:59 +05:45
sauravniraula
3c5ba63309
feat(fastapi): uses better json loader that parses dirty json 2025-09-12 01:28:59 +05:45
sauravniraula
d344721708
fix: placeholder icon 2025-09-11 22:37:21 +05:45
sauravniraula
4a7f23adcc
Merge branch 'development' of github.com:presenton/presenton into development 2025-09-11 22:11:35 +05:45
sauravniraula
e28825d36b
refactor: use pdfplumber for pdf to images 2025-09-11 22:08:24 +05:45
shiva raj badu
3254db8808
fix: update presentation reference in summary 2025-09-11 16:57:31 +05:45
sauravniraula
f80a278c34
feat: use new endpoints in UI 2025-09-07 22:32:25 +05:45
sauravniraula
a992f40077
feat: adds table of contents, title slide, web search options in both UI and API Endpoints 2025-09-07 22:06:22 +05:45
sauravniraula
0c5c53e24c
perf: makes update endpoint flexible and reduces updates 2025-09-03 21:35:18 +05:45
sauravniraula
ca88bc67c4
fix(fastapi): fix flow for outlines generation if chunker fails 2025-09-01 11:06:07 +05:45
sauravniraula
5610ef8e78
chore: makes sure new slides are generated before deleting old ones 2025-08-30 17:31:46 +05:45
Saurav Niraula
3ad1e59a46
Merge pull request #260 from presenton/feat/llm-client-error-handling
feat(fastapi): adds better error handling for LLMClient
2025-08-30 16:39:13 +05:45
shiva raj badu
9765749a83
feat: add undo/redo buttons & re-generate in presentation page 2025-08-30 16:31:11 +05:45
sauravniraula
c4318b5c28
feat(fastapi): adds better error handling for LLMClient 2025-08-30 14:30:58 +05:45
shiva raj badu
99fd1f3ea9
Merge branch 'main' of github.com:presenton/presenton 2025-08-29 20:07:11 +05:45
shiva raj badu
c5b465eb02
feat: implement image upload, retrieval & deletetion endpoints, Also implemented on Nextjs 2025-08-29 20:04:18 +05:45
sauravniraula
f9b5fa32ea
perf: generate assets and slides batch concurrently 2025-08-29 15:07:34 +05:45
sauravniraula
e6d2cb6566
perf: generates slides concurrently in batch of 10 in API 2025-08-29 12:55:53 +05:45
sauravniraula
3acfc1dffb
fix: enable web search by default on UI flow if WEB_GROUNDING is enabled 2025-08-29 12:39:06 +05:45
sauravniraula
614948887f
feat: adds tone, verbosity and refactors tables 2025-08-29 10:52:34 +05:45
sauravniraula
5ec4144f9f
feat: adds content and instruction on UI endpoints 2025-08-28 20:35:27 +05:45
sauravniraula
6fa63c8ece
feat: documents support in API 2025-08-28 18:31:57 +05:45
sauravniraula
74dc67628d
feat: multiple document support in outlines generation 2025-08-28 18:25:13 +05:45