Commit graph

97 commits

Author SHA1 Message Date
sudipnext
b20199a4e3 feat: Integrate Vertex AI and Azure OpenAI support
- Added environment variables for Vertex AI and Azure OpenAI configurations in docker-compose and user configuration models.
- Updated the application logic to handle Vertex and Azure as new LLM providers, including validation and API key management.
- Enhanced the UI components to support model selection and API key input for Vertex and Azure.
- Updated relevant utility functions and constants to accommodate the new providers.
- Ensured proper error handling for configuration requirements specific to Vertex and Azure.
2026-04-30 06:03:39 +05:45
sudipnext
8c3bc13542 Merge branch 'main' into refactor/presenton-chat-stream 2026-04-27 19:54:01 +05:45
sudipnext
4c271170b5 feat: Add chat history management and asset generation features
- Introduced a new `ChatHistoryMessageModel` to persist chat messages in the database.
- Implemented a migration script to create the `chat_history_messages` table.
- Enhanced chat services to support storing and retrieving chat history.
- Added functionality for generating multiple media assets in a single API call.
- Updated the chat UI to display assistant activities and tool usage more effectively.
- Refactored API calls to use absolute URLs for better reliability.
2026-04-26 13:12:50 +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
Sudip Parajuli
7f4d6acdd8
Merge branch 'main' into feat/docker-release-electron-sync 2026-04-20 20:56:20 +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
Christopher Quenneville
f2703ec003 feat: add Open WebUI as image generation provider
Add native support for Open WebUI's image generation API as a new
image provider option. Open WebUI exposes an OpenAI-like
/v1/images/generations endpoint but with key differences that
require special handling:

- Response is a bare JSON array instead of {"data": [...]}
- Image URLs are relative paths (e.g. /api/v1/files/.../content)
- File downloads require the same Bearer auth token

The implementation uses raw HTTP calls via aiohttp rather than the
OpenAI SDK to handle these differences. No model parameter is sent
since Open WebUI manages the image model in its own admin settings.

Backend changes:
- New OPEN_WEBUI enum value in ImageProvider
- generate_image_open_webui() method in ImageGenerationService
- Environment getters/setters for OPEN_WEBUI_IMAGE_URL and
  OPEN_WEBUI_IMAGE_API_KEY
- UserConfig model and config loading/saving pipeline updated

Frontend changes:
- New "Open WebUI" option in image provider dropdown
- Settings UI with URL and optional API key fields
- Validation, field mappings, and config persistence

Docker:
- OPEN_WEBUI_IMAGE_URL and OPEN_WEBUI_IMAGE_API_KEY added to all
  docker-compose service definitions

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 12:27:45 -05:00
sudipnext
7660379b7d feat: enhance image handling in FastAPI and Next.js with web-safe URLs 2026-03-13 13:34:25 +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
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
908bea18b5
feat: adds gpt image 1.5 2025-12-21 01:14:31 +05:45
shiva raj badu
ea8db1bfdd
feat: replace local image provider with ComfyUI configuration in environment variables and user settings 2025-12-18 22:42:53 +05:45
shiva raj badu
e72cea3655
feat: integrate ComfyUI workflow for local image generation 2025-12-17 21:04:32 +05:45
shiva raj badu
c34fb75302
feat: local image provider 2025-12-15 19:12:34 +05:45
sauravniraula
bcf8dabbed
feat: adds option to disable image generation for slides 2025-11-28 00:27:54 +05:45
sauravniraula
f773e0a66d
feat(fastapi): adds trigger_webhook option in generate request 2025-09-17 14:54:12 +05:45
sauravniraula
60f030abf7
chore(fastapi): refactor webhook id to use different format 2025-09-16 18:06:59 +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
cc78faea73
fix(fastapi): /edit, /derive and /export endpoints 2025-09-12 02:27:59 +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
b56e01a3c0
fix: ollama pull status sql table 2025-09-01 14:31:07 +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
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
Suraj Jha
3c9a4f9ce8
update: simplify mcp 2025-08-17 23:16:26 +05:45
sauravniraula
29841bdd06
feat(fastapi): adds logic to generate speaker notes and slide note support in export 2025-08-12 16:18:57 +05:45
sauravniraula
362af45189
fix(fastapi): solves issue on PPTX export where markdown content was not correctly parsed 2025-08-12 13:10:29 +05:45
sauravniraula
816a62a04a
fix(fastapi): solves malformed function call from google on ResponseSchema function call 2025-08-11 20:55:25 +05:45
sauravniraula
56cd69a8b6
fix: division by zero, no paragraphs in text box model and elements with 0 width or height issue solved 2025-08-10 17:52:52 +05:45
Suraj Jha
2cd5eef92f
feat: upload fonts to slide and be able to retrieve deduplicated list for all in template 2025-08-10 00:55:25 +05:45
Suraj Jha
68bb4bae3a
Merge main into pdf-pptx-layout 2025-08-09 15:36:43 +05:45
sauravniraula
52215bb7e7
style: remove ollama icons 2025-08-09 03:47:52 +05:45
sauravniraula
3f523f1491
refactor: removes redis service and env variables, fix(fastapi): user config bool env variables issues, parse tool fix for custom llm on tool call structured output 2025-08-09 03:03:13 +05:45
sauravniraula
dc62eb72d1
feat(fastapi): adds anthropic web search, fix(fastapi): llm messages to system and user message 2025-08-09 01:36:16 +05:45
sauravniraula
84fd0dee1a
feat(fastapi): adds tool calls support for anthropic generate 2025-08-08 09:06:05 +05:45
sauravniraula
49342e7c3c
feat(fastapi): adds tools support for openai and google generate and stream 2025-08-08 08:01:15 +05:45
sauravniraula
5030908974
feat(fastapi): generate and stream implementation for openai with agentic behavior 2025-08-08 02:49:51 +05:45