Commit graph

103 commits

Author SHA1 Message Date
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
69baa06c81 feat: update Codex model versions and enhance content length limits 2026-03-27 18:30:03 +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
sudipnext
2d462d8df4 feat: implement database migration on startup and update dependencies for FastAPI 2026-03-08 20:05:44 +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
34eed2413f 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
sudipnext
d2e3ab9d15 feat: add CodexLLMAdapter for structured LLM calls and integrate with LLMClient
- Introduced CodexLLMAdapter to handle structured and unstructured LLM calls via the Codex Responses API.
- Implemented methods for converting tool formats and building request bodies for Codex.
- Refactored LLMClient to utilize CodexLLMAdapter, enhancing tool call handling and response processing.
- Updated LLMToolCallsHandler to support Codex as a valid LLM provider.
- Enhanced schema utilities for better JSON schema handling.
2026-02-26 12:38:58 +05:45
sudipnext
5f5482cfd5 feat: enhance LLMClient with Codex integration and error handling
- Implemented a new method to create an AsyncOpenAI client specifically for Codex.
- Added functionality to convert Codex event responses into a dictionary format for easier consumption.
- Updated the streaming methods to utilize the new Codex client and handle API errors gracefully.
- Improved logging for debugging purposes during Codex interactions.
- Refactored message handling in the slide content generation function for clarity and efficiency.
2026-02-25 17:56:39 +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
sudipnext
d623fa6670 fix: add fallback to placeholder icon when no icon is found in slide processing 2026-01-04 17:49:22 +05:45
sauravniraula
908bea18b5
feat: adds gpt image 1.5 2025-12-21 01:14:31 +05:45
shiva raj badu
f421260bfc
feat: nano banana image generation model integration 2025-12-19 00:41:55 +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
c9b60d5f51
fix: default ollama url 2025-11-28 02:56:33 +05:45
sauravniraula
bcf8dabbed
feat: adds option to disable image generation for slides 2025-11-28 00:27:54 +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
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
c4318b5c28
feat(fastapi): adds better error handling for LLMClient 2025-08-30 14:30:58 +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
b33b44de99
fix: icon finder services reinitiating in every request 2025-08-28 14:55:12 +05:45
sauravniraula
0d1de4a28e
feat: adds placeholder image and icons while generating 2025-08-28 14:11:04 +05:45
sauravniraula
c5b255a3c8
fix: removes datetime tool and provide it directly 2025-08-28 14:01:12 +05:45
sauravniraula
1299d37e59
fix(fastapi): improves llm client for structured output 2025-08-20 21:29:48 +05:45
Suraj Jha
4f4783bc35
fix: use http_proxy while getting image on network 2025-08-19 15:19:57 +05:45
sauravniraula
c63bf35c51
fix: adds support for sslmode and other params in database url 2025-08-16 20:48:42 +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
2b8ee7278c
fix: user config set bool environment variables issue 2025-08-11 21:02:00 +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
d08c0def85
fix(outline generation): adds instruction to not provide image in outlines 2025-08-10 17:57:07 +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
5c106bd664
feat(fastapi): adds tool call support for anthropic stream and stream structured 2025-08-08 22:11:41 +05:45
sauravniraula
5030908974
feat(fastapi): generate and stream implementation for openai with agentic behavior 2025-08-08 02:49:51 +05:45
sauravniraula
09f648dc5b
fix(fastapi): uses SlideOutlineModel to wrap slide outline, to fix json repair issue 2025-08-06 21:53:40 +05:45
sauravniraula
bf16491c73
fix: nextjs build issues and docling support for Powerpoint and Word 2025-08-05 23:19:59 +05:45
sauravniraula
e10fe106ec
chore(layouts) 2025-08-04 15:09:32 +05:45
sauravniraula
c599aa15e4
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
sauravniraula
ca72a652ee
feat(fastapi): changes presentation generation flow for documents to chunk it and extract as outlines 2025-08-03 20:14:53 +05:45
sauravniraula
934a371ba3
fix(fastapi): fixes checks for custom llm api key 2025-08-01 15:11:49 +05:45
sauravniraula
e542fdf869
feat(fastapi): adds strict support for every schemas, proper models check, refactor 2025-08-01 00:15:03 +05:45
sauravniraula
bb6abf1890
feat(fastapi): converts schema to pydantic model for structured response, fix: changes icon and image schema for pydantic model support 2025-07-31 15:50:41 +05:45
sauravniraula
c63944b7cf
feat(fastapi): uses llm client wrapper to wrap all clients 2025-07-31 13:27:21 +05:45
sauravniraula
0c02eafeca
Merge branch 'main' 2025-07-31 12:32:34 +05:45
sauravniraula
913c0bf280
fix(fastapi): sets custom url correctly 2025-07-30 23:35:29 +05:45