Commit graph

27 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
2d462d8df4 feat: implement database migration on startup and update dependencies for FastAPI 2026-03-08 20:05:44 +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
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
0581d5593b
feat: add local image URL and workflow environment variables to docker-compose 2025-12-18 00:41:24 +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
4b2a84b320
feat(nextjs): adds basic anonymous tracking that tracks navigation, api calls (Just name of endpoint is tracked) and button clicks 2025-08-12 20:15:17 +05:45
shiva raj badu
910b3aa68d
Merged 2025-08-09 20:27:31 +05:45
Suraj Jha
68bb4bae3a
Merge main into pdf-pptx-layout 2025-08-09 15:36:43 +05:45
sauravniraula
dc474cf0d5
docs(readme): adds new Web Grounding environment variable 2025-08-09 03:07:33 +05:45
shiva raj badu
d9cbf3ea5a
Merged with main 2025-08-05 22:37:25 +05:45
sauravniraula
e8a5da2e5f
chore(docker): adds new environment variables in docker compose 2025-08-01 18:58:30 +05:45
sauravniraula
41cd7e2b61
fix(docker): removes sh scripts to fix format error on windows, moves script logic to start.js 2025-08-01 13:57:15 +05:45
sauravniraula
0c02eafeca
Merge branch 'main' 2025-07-31 12:32:34 +05:45
shiva raj badu
201e2ee11d
feat(Nextjs): Custom Layout Extractor & Canvas Draw implemented 2025-07-31 01:56:29 +05:45
sauravniraula
e07ddf8669
docs(fastapi): exposes fastapi docs on /docs 2025-07-23 17:36:58 +05:45
sauravniraula
03b2b06ff0
feat(fastapi): adds slide assets generation, adds dict and schema processors, fix(nextjs): changes image and icon schema fields to __xxxxx__ 2025-07-17 06:38:02 +05:45
sauravniraula
fb2b31d91b
chore: changes port to 5000 2025-07-12 20:07:39 +05:45
shiva raj badu
94b8503843 feat(nextjs/dashboard): slide data rendered 2025-07-12 19:03:48 +05:45
sauravniraula
e86bc5259a
fix(env): changes SQL_URL to database url, feat(fastapi): returns first slide with presentation 2025-07-12 18:46:30 +05:45
shiva raj badu
1914358297 Main Rebased 2025-07-12 01:59:44 +05:45
sauravniraula
6d5d77d874
feat(fastapi): adds support for custom database postgresql and mysql 2025-07-12 00:15:27 +05:45
sauravniraula
eb25416219
feat(fastapi, nextjs): adds custom openai compartible url support 2025-07-08 13:12:01 +05:45
sauravniraula
62e56b988d
fix(fastapi, nextjs): fixes errors while using Custom Ollama URL 2025-07-06 15:29:23 +05:45
sauravniraula
eb3653a865
fix(docker): adds seperate docker start scripts to fix node_modules issue on development 2025-06-26 16:57:22 +05:45
sauravniraula
31073b6016
refactor!: use presenton docker codebase 2025-06-23 15:13:04 +05:45