google-labs-jules[bot]
60d0a30bf3
I've made a correction to the UserModel import in the agents router.
...
This resolved an ImportError (cannot import name 'User' from 'open_webui.models.auths') by changing the import for UserModel in `backend/open_webui/routers/agents.py` to correctly point to `open_webui.models.users`.
The original error prevented the agents router from loading. This change ensures the router can find the correct User model definition.
Note: I also found a missing 'typer' dependency, which I will address next.
2025-05-29 05:04:15 +00:00
google-labs-jules[bot]
1345b55fe1
feat: Implement Agent Creation with Generalized Model Support
...
This commit introduces the initial Agent Creation Playground feature and ensures it supports all model types available in Open WebUI, not just Ollama models.
Key changes include:
Frontend:
- Created a new Agent Creation form at `/agents/create`.
- Added a link to the playground in the sidebar (admin only).
- The form now fetches and displays all available models from the `/api/models` endpoint.
- Updated UI to correctly handle generalized model IDs.
Backend:
- Modified the `Agent` model to store a generic `model_id` (foreign key to the `models` table) instead of a specific `llm_model`.
- Updated API endpoints and Pydantic schemas accordingly.
- Created database migrations to reflect schema changes.
- Verified that the existing `/api/models` endpoint can be used to list all models for the creation form.
Testing:
- Added Cypress E2E tests for the agent creation form.
- Tests verify that different model types can be selected and that the correct `model_id` and other agent details are submitted to the backend.
This provides a foundation for you to define agents using any model integrated with your Open WebUI instance.
2025-05-28 11:03:52 +00:00
Timothy Jaeryang Baek
efb54aa2e4
fix: image generation
2025-05-27 02:48:22 +04:00
Timothy Jaeryang Baek
5c74e56bd0
chore: format
2025-05-27 02:18:43 +04:00
Tim Jaeryang Baek
1cb8fa0f03
Merge pull request #14362 from PVBLIC-F/fix/chat-engagement-critical
...
Fix/chat engagement critical
2025-05-27 02:17:34 +04:00
cheadings71
256034e285
Update misc.py
...
Before fix: Chat engagement failed with TypeError and KeyError
After fix: Chat works smoothly with automatic title generation and proper history
2025-05-26 14:55:48 -07:00
cheadings71
d414662d23
fix: resolve chat engagement TypeError - Fix get_message_list() to return [] instead of None - Fix middleware to use correct metadata message_id - Add safe fallback for missing role field - Ensure assistant messages include role field
2025-05-26 14:35:09 -07:00
Timothy Jaeryang Baek
940a437631
refac
2025-05-27 01:16:11 +04:00
Timothy Jaeryang Baek
aaff204e7b
refac
2025-05-27 00:56:59 +04:00
Timothy Jaeryang Baek
2c7ccc69fe
enh: allow custom openapi json url
2025-05-27 00:20:47 +04:00
Timothy Jaeryang Baek
a38e44e870
enh: external tool server custom name/description support
2025-05-27 00:10:33 +04:00
Timothy Jaeryang Baek
b4caad928e
feat: load function from url
2025-05-26 23:52:22 +04:00
Tim Jaeryang Baek
6062174602
Merge pull request #14228 from suleimanelkhoury/s3-tags-allowed-characters
...
fix: S3 allowed characters in Tags.
2025-05-26 22:43:21 +04:00
Timothy Jaeryang Baek
2d5b82df8c
enh: include sources field in non-streaming response
2025-05-26 22:22:37 +04:00
Timothy Jaeryang Baek
ffa51ece0c
refac: pinned chat endpoint
2025-05-26 22:15:21 +04:00
Timothy Jaeryang Baek
fc5dfd3536
refac
2025-05-26 22:02:40 +04:00
Tim Jaeryang Baek
5d7c89964c
Merge pull request #14314 from fl0w1nd/dev
...
fix: Correctly handle toggle filters to prevent unintended activation
2025-05-26 21:58:57 +04:00
Timothy Jaeryang Baek
4da75a9e78
feat: GZip, Brotli, ZStd compression middleware support
...
Co-Authored-By: Jason Baker <jason.th.baker@gmail.com >
2025-05-26 14:18:29 +04:00
Tim Jaeryang Baek
c157e74f0c
Merge pull request #14335 from open-webui/main
...
dev
2025-05-26 13:02:08 +04:00
Shirasawa
0dc29a220f
fix: Fix path leakage caused by file upload
2025-05-26 12:20:00 +08:00
fl0w1nd
332043c38b
fix: Correctly handle toggle filters to prevent unintended activation
2025-05-25 17:59:31 +08:00
Timothy Jaeryang Baek
75208935d7
refac: user chat list modal
2025-05-25 01:44:53 +04:00
Timothy Jaeryang Baek
6e8ca96799
enh: archived chats modal
2025-05-25 01:23:12 +04:00
Timothy Jaeryang Baek
7e6f1f8848
enh: archived chats modal
2025-05-25 00:48:30 +04:00
Timothy Jaeryang Baek
31e2686ae6
feat: /sync functions endpoint
2025-05-24 23:39:19 +04:00
Timothy Jaeryang Baek
cce5f024bd
feat: WEBUI_AUTH_TRUSTED_GROUPS_HEADER
2025-05-24 23:17:12 +04:00
Timothy Jaeryang Baek
da75d0ca1e
chore: format
Deploy to HuggingFace Spaces / check-secret (push) Waiting to run
Deploy to HuggingFace Spaces / deploy (push) Blocked by required conditions
Create and publish Docker images with specific build args / build-main-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-main-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / build-ollama-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-ollama-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / merge-main-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-cuda-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-ollama-images (push) Blocked by required conditions
Python CI / Format Backend (3.11.x) (push) Waiting to run
Python CI / Format Backend (3.12.x) (push) Waiting to run
Frontend Build / Format & Build Frontend (push) Waiting to run
Frontend Build / Frontend Unit Tests (push) Waiting to run
2025-05-24 02:13:54 +04:00
Tim Jaeryang Baek
e663b90a9f
Merge pull request #14069 from Ithanil/bm25_weight
...
feat: Configurable weight for BM25Retriever during hybrid search
2025-05-24 01:13:03 +04:00
Timothy Jaeryang Baek
bf97dbe052
refac
2025-05-24 01:12:11 +04:00
Timothy Jaeryang Baek
80eaa24ca8
enh: provide source name in context if available
2025-05-24 00:52:09 +04:00
Timothy Jaeryang Baek
8b5e89eada
chore: format
2025-05-24 00:43:38 +04:00
Timothy Jaeryang Baek
baaa285534
feat: user stt language
2025-05-24 00:36:30 +04:00
Jan Kessler
e70dd33233
rename BM25_WEIGHT -> HYBRID_BM25_WEIGHT
2025-05-23 22:06:44 +02:00
Tim Jaeryang Baek
99f88082ca
Merge pull request #14248 from diwakar-s-maurya/patch-3
...
feat: Show tool call parameters along tool ouput
2025-05-23 22:55:08 +04:00
Timothy Jaeryang Baek
6636207e0c
refac
2025-05-23 22:10:57 +04:00
Tim Jaeryang Baek
c8f1bdf928
Merge pull request #14245 from PVBLIC-F/dev
...
perf Update mistral.py
2025-05-23 21:57:16 +04:00
Timothy Jaeryang Baek
3f2025dc6e
enh: always process file with external document loader
2025-05-23 21:55:09 +04:00
Diwakar Singh Maurya
549237fb05
Show tool call parameters along tool ouput
2025-05-23 17:42:05 +00:00
Timothy Jaeryang Baek
797c7d4e56
refac: allow min_p for openai requests
2025-05-23 21:28:02 +04:00
PVBLIC Foundation
bf193dfb5d
Update mistral.py
2025-05-23 10:00:19 -07:00
Timothy Jaeryang Baek
1cf21d3fa2
feat: ollama unload model
2025-05-23 19:45:29 +04:00
Timothy Jaeryang Baek
0e6f09a0a9
enh: ollama loaded model display
2025-05-23 19:13:18 +04:00
Timothy Jaeryang Baek
a50a8e2ef9
refac: ollama ps
2025-05-23 18:47:50 +04:00
Suleiman Elkhoury
e10d6ad79c
Fix S3 allowed characters in Tags.
...
In Amazon S3 storage, only the following charaters allowed in Tagging "letters (a-z, A-Z), numbers (0-9), and spaces representable in UTF-8, and the following characters: + - = . _ : / @". Added a sanitizer function to clear tags before the put request.
2025-05-23 11:09:40 +02:00
Timothy Jaeryang Baek
a2f12db8d9
refac: memories
Deploy to HuggingFace Spaces / check-secret (push) Waiting to run
Deploy to HuggingFace Spaces / deploy (push) Blocked by required conditions
Create and publish Docker images with specific build args / build-main-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-main-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / build-ollama-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-ollama-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / merge-main-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-cuda-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-ollama-images (push) Blocked by required conditions
Python CI / Format Backend (3.11.x) (push) Waiting to run
Python CI / Format Backend (3.12.x) (push) Waiting to run
Frontend Build / Format & Build Frontend (push) Waiting to run
Frontend Build / Frontend Unit Tests (push) Waiting to run
2025-05-23 03:26:14 +04:00
Timothy Jaeryang Baek
7a593b63b2
fix: image generation with allowed file extensions
2025-05-23 02:53:08 +04:00
Timothy Jaeryang Baek
4c55ad71a7
fix: local/external models
2025-05-23 02:48:31 +04:00
Timothy Jaeryang Baek
1f632d3570
fix: remove leading dot for file extension check
2025-05-23 02:39:19 +04:00
Timothy Jaeryang Baek
2eca6f6414
feat: bypass web loader in web search
...
Co-Authored-By: Perry Li <peiyaoli@mail.nankai.edu.cn >
Co-Authored-By: WilliamGates <3852641+williamgateszhao@users.noreply.github.com >
2025-05-23 02:30:35 +04:00
Timothy Jaeryang Baek
a68ec8822a
enh: filter md image for task generations
2025-05-23 01:33:08 +04:00