Commit Graph

1562 Commits

Author SHA1 Message Date
dependabot[bot]
4031cb9eda
chore(deps): bump langchain-community from 0.2.10 to 0.2.12 in /backend
Bumps [langchain-community](https://github.com/langchain-ai/langchain) from 0.2.10 to 0.2.12.
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](https://github.com/langchain-ai/langchain/compare/langchain-community==0.2.10...langchain-community==0.2.12)

---
updated-dependencies:
- dependency-name: langchain-community
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-22 12:10:43 +00:00
dependabot[bot]
ee6b8c5b72
chore(deps): bump markdown from 3.6 to 3.7 in /backend
Bumps [markdown](https://github.com/Python-Markdown/markdown) from 3.6 to 3.7.
- [Release notes](https://github.com/Python-Markdown/markdown/releases)
- [Changelog](https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md)
- [Commits](https://github.com/Python-Markdown/markdown/compare/3.6...3.7)

---
updated-dependencies:
- dependency-name: markdown
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-22 12:07:04 +00:00
Timothy Jaeryang Baek
11aecbe79a
Merge pull request #4768 from zhaofengli/db-url-fixes
fix: Fix parameter handling for PostgreSQL URLs
2024-08-22 14:01:28 +02:00
Timothy Jaeryang Baek
a9bace0f97
Merge pull request #4784 from open-webui/dependabot/pip/backend/dev/langchain-0.2.14
chore(deps): bump langchain from 0.2.12 to 0.2.14 in /backend
2024-08-22 13:59:27 +02:00
Timothy Jaeryang Baek
7e4fed2451
Merge pull request #4786 from open-webui/dependabot/pip/backend/dev/unstructured-0.15.7
chore(deps): bump unstructured from 0.15.5 to 0.15.7 in /backend
2024-08-22 13:59:03 +02:00
Timothy Jaeryang Baek
ac8a16ec5b
Merge pull request #4787 from open-webui/dependabot/pip/backend/dev/langfuse-2.44.0
chore(deps): bump langfuse from 2.43.3 to 2.44.0 in /backend
2024-08-22 13:58:48 +02:00
USIGLOBAL\daniel_tsai
89ebbed67b fix: DeprecationWarning for datetime.utcnow() by using datetime.now(UTC) 2024-08-22 15:12:40 +08:00
Timothy J. Baek
6fcd40d4d8 fix: filter compatibility issue 2024-08-22 01:08:59 +02:00
Timothy J. Baek
85b4129219 fix 2024-08-22 00:25:43 +02:00
Timothy J. Baek
f3e8dd1f2e enh: comfyui logs 2024-08-21 23:22:12 +02:00
Timothy J. Baek
3f0b7b29db fix 2024-08-21 23:11:12 +02:00
Timothy J. Baek
95cf90d787 enh: comfyui seed node support 2024-08-21 23:05:20 +02:00
Timothy J. Baek
4a21c5c5e7 refac 2024-08-21 22:42:25 +02:00
Timothy J. Baek
180f2b9a83 fix: functions 2024-08-21 22:39:36 +02:00
Timothy J. Baek
acaf135a2f fix 2024-08-21 18:29:52 +02:00
dependabot[bot]
f5994e3a44
chore(deps): bump langfuse from 2.43.3 to 2.44.0 in /backend
Bumps [langfuse](https://github.com/langfuse/langfuse) from 2.43.3 to 2.44.0.
- [Release notes](https://github.com/langfuse/langfuse/releases)
- [Commits](https://github.com/langfuse/langfuse/commits/v2.44.0)

---
updated-dependencies:
- dependency-name: langfuse
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-21 15:38:07 +00:00
dependabot[bot]
ccf5bd1492
chore(deps): bump unstructured from 0.15.5 to 0.15.7 in /backend
Bumps [unstructured](https://github.com/Unstructured-IO/unstructured) from 0.15.5 to 0.15.7.
- [Release notes](https://github.com/Unstructured-IO/unstructured/releases)
- [Changelog](https://github.com/Unstructured-IO/unstructured/blob/0.15.7/CHANGELOG.md)
- [Commits](https://github.com/Unstructured-IO/unstructured/compare/0.15.5...0.15.7)

---
updated-dependencies:
- dependency-name: unstructured
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-21 15:38:05 +00:00
dependabot[bot]
510a0f3a2f
chore(deps): bump langchain from 0.2.12 to 0.2.14 in /backend
Bumps [langchain](https://github.com/langchain-ai/langchain) from 0.2.12 to 0.2.14.
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](https://github.com/langchain-ai/langchain/compare/langchain==0.2.12...langchain==0.2.14)

---
updated-dependencies:
- dependency-name: langchain
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-21 15:37:56 +00:00
Timothy J. Baek
efcb56f0dc refac 2024-08-21 17:27:39 +02:00
Timothy J. Baek
19455ab04e fix 2024-08-21 15:15:29 +02:00
Timothy J. Baek
71b1661f00 fix 2024-08-21 14:49:54 +02:00
Timothy J. Baek
99764bfd29 fix 2024-08-21 14:49:17 +02:00
Timothy J. Baek
063e006446 feat: custom comfyui workflow
Co-Authored-By: John Karabudak <hello@johnthenerd.com>
2024-08-21 14:44:47 +02:00
Timothy J. Baek
29bef261be refac 2024-08-21 14:16:33 +02:00
Timothy J. Baek
e2291f7148 refac 2024-08-21 01:39:30 +02:00
Timothy J. Baek
8b5aed7a2b refac 2024-08-21 01:21:03 +02:00
Timothy J. Baek
95057d2368 refac: image gen 2024-08-21 00:35:42 +02:00
Michael Poluektov
3d6ac3a7db Merge branch 'dev' of https://github.com/open-webui/open-webui into tools-refac-2.1 2024-08-20 17:42:25 +01:00
Michael Poluektov
bd47bbbce9 fix tools filter 2024-08-20 17:41:51 +01:00
Timothy J. Baek
c5310e84db feat: custom COMFYUI_WORKFLOW
deprecates several comfyui env vars
2024-08-20 18:17:15 +02:00
Michael Poluektov
454f59d59a undo frontend change 2024-08-20 15:48:14 +01:00
Michael Poluektov
2e3146263c put tool_ids and files in metadata 2024-08-20 15:41:49 +01:00
Michael Poluektov
bcbcd5fde9 Merge branch 'dev' of https://github.com/open-webui/open-webui into tools-refac-2.1 2024-08-20 14:56:47 +01:00
Michael Poluektov
44966db505 avoid ugly exception 2024-08-19 17:04:57 +01:00
Timothy J. Baek
1e8abea753 refac 2024-08-19 17:58:54 +02:00
Timothy J. Baek
21d8ff61bb refac 2024-08-19 17:57:47 +02:00
Michael Poluektov
9652c8f8af dont delete files and tool_ids 2024-08-19 16:57:29 +01:00
Timothy J. Baek
de8f5b9c13 enh: default title gen prompt 2024-08-19 17:54:34 +02:00
Michael Poluektov
c89df923c5 fix import error 2024-08-19 16:52:42 +01:00
Michael Poluektov
556bc8669a remove config options for now 2024-08-19 16:50:52 +01:00
Timothy J. Baek
89ba98e927 enh: better pdf CJK language support 2024-08-19 17:50:42 +02:00
Michael Poluektov
9d7037b730 add pydantic model from json 2024-08-19 16:27:38 +01:00
Michael Poluektov
5edc211392 pass docstring to function 2024-08-19 16:27:21 +01:00
Timothy J. Baek
cbadf39d7d enh: user chat edit permission 2024-08-19 16:49:40 +02:00
Timothy J. Baek
0fa85c5c64 enh: enable message rating setting 2024-08-19 15:16:49 +02:00
dependabot[bot]
a54d3ad512
chore(deps): bump bcrypt from 4.1.3 to 4.2.0 in /backend
Bumps [bcrypt](https://github.com/pyca/bcrypt) from 4.1.3 to 4.2.0.
- [Changelog](https://github.com/pyca/bcrypt/blob/main/release.py)
- [Commits](https://github.com/pyca/bcrypt/compare/4.1.3...4.2.0)

---
updated-dependencies:
- dependency-name: bcrypt
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 12:05:37 +00:00
Timothy Jaeryang Baek
cdf9f5a4ec
Merge pull request #4720 from open-webui/dependabot/pip/backend/dev/boto3-1.35.0
chore(deps): bump boto3 from 1.34.153 to 1.35.0 in /backend
2024-08-19 14:04:41 +02:00
Timothy Jaeryang Baek
a472bfe6dc
Merge pull request #4719 from open-webui/dependabot/pip/backend/dev/faster-whisper-1.0.3
chore(deps): bump faster-whisper from 1.0.2 to 1.0.3 in /backend
2024-08-19 14:04:31 +02:00
Timothy Jaeryang Baek
f88d994c35
Merge pull request #4717 from open-webui/dependabot/pip/backend/dev/uvicorn-standard--0.30.6
chore(deps): bump uvicorn[standard] from 0.22.0 to 0.30.6 in /backend
2024-08-19 14:04:22 +02:00
Timothy Jaeryang Baek
ad92aded84
Merge pull request #4716 from open-webui/dependabot/pip/backend/dev/sqlalchemy-2.0.32
chore(deps): bump sqlalchemy from 2.0.31 to 2.0.32 in /backend
2024-08-19 14:03:43 +02:00
Michael Poluektov
528df12bf1 fix: nonetype error 2024-08-19 11:15:22 +01:00
Michael Poluektov
a933319adb import error? 2024-08-19 11:11:00 +01:00
Michael Poluektov
13c03bfd7d add __tools__ custom param 2024-08-19 11:08:27 +01:00
Michael Poluektov
18965dcdac delete keys if envvars are set 2024-08-19 11:03:55 +01:00
Michael Poluektov
a4a7d678f9 move tools utils to utils.tools 2024-08-19 10:53:12 +01:00
Michael Poluektov
fd422d2e3c use filters envvars 2024-08-19 10:46:52 +01:00
Michael Poluektov
ce7a1a73ac remove more nesting 2024-08-19 10:34:44 +01:00
Michael Poluektov
32874a816d add filter toggle envvars 2024-08-19 10:26:16 +01:00
Michael Poluektov
3164354c0b refactor into single wrapper 2024-08-19 10:23:40 +01:00
dependabot[bot]
f96aaf1177
chore(deps): bump boto3 from 1.34.153 to 1.35.0 in /backend
Bumps [boto3](https://github.com/boto/boto3) from 1.34.153 to 1.35.0.
- [Release notes](https://github.com/boto/boto3/releases)
- [Commits](https://github.com/boto/boto3/compare/1.34.153...1.35.0)

---
updated-dependencies:
- dependency-name: boto3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 03:07:09 +00:00
dependabot[bot]
589c79f3c2
chore(deps): bump faster-whisper from 1.0.2 to 1.0.3 in /backend
Bumps [faster-whisper](https://github.com/SYSTRAN/faster-whisper) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/SYSTRAN/faster-whisper/releases)
- [Commits](https://github.com/SYSTRAN/faster-whisper/compare/v1.0.2...v1.0.3)

---
updated-dependencies:
- dependency-name: faster-whisper
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 03:07:03 +00:00
dependabot[bot]
a0f6864216
chore(deps): bump uvicorn[standard] from 0.22.0 to 0.30.6 in /backend
Bumps [uvicorn[standard]](https://github.com/encode/uvicorn) from 0.22.0 to 0.30.6.
- [Release notes](https://github.com/encode/uvicorn/releases)
- [Changelog](https://github.com/encode/uvicorn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/encode/uvicorn/compare/0.22.0...0.30.6)

---
updated-dependencies:
- dependency-name: uvicorn[standard]
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 03:06:54 +00:00
dependabot[bot]
a4cc2c5c48
chore(deps): bump sqlalchemy from 2.0.31 to 2.0.32 in /backend
Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 2.0.31 to 2.0.32.
- [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases)
- [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/main/CHANGES.rst)
- [Commits](https://github.com/sqlalchemy/sqlalchemy/commits)

---
updated-dependencies:
- dependency-name: sqlalchemy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 03:06:51 +00:00
Craig Quiter
0550d12106 Black format 2024-08-18 15:04:01 -07:00
Craig Quiter
7bcdc10539 Optimize imports 2024-08-18 14:19:29 -07:00
Craig Quiter
d2f10d50bf Allow seting CORS origin 2024-08-18 14:19:29 -07:00
Timothy J. Baek
7c81509804 feat: merge responses 2024-08-18 20:59:59 +02:00
Timothy Jaeryang Baek
079f37a2d6
Merge pull request #4701 from ndrsfel/fix-rag-embedding-openai-batch-size-environment-variable
fix: RAG with OpenAI embedding models and batch_size environment variable fails silently
2024-08-18 13:24:18 +02:00
Andreas Feldl
0980066363 fix conversion 2024-08-18 12:46:47 +02:00
Timothy J. Baek
176c689f8d fix: unstructured md file parsing issue 2024-08-17 17:20:35 +02:00
Timothy J. Baek
fa20b1dc09 chore: format 2024-08-17 17:17:45 +02:00
Timothy J. Baek
2ca9989d20 refac 2024-08-17 17:15:44 +02:00
Timothy J. Baek
3420818c52 refac 2024-08-17 17:11:58 +02:00
Timothy J. Baek
0ae6ca608c refac 2024-08-17 17:01:35 +02:00
Timothy J. Baek
536b40890a refac 2024-08-17 16:57:27 +02:00
Timothy J. Baek
d5337917db refac 2024-08-17 16:46:04 +02:00
Timothy J. Baek
15f3ebba93 refac 2024-08-17 16:41:34 +02:00
Timothy J. Baek
e71f55e58f refac 2024-08-17 16:32:39 +02:00
Timothy J. Baek
fe747382c1 refac 2024-08-17 16:27:11 +02:00
Timothy J. Baek
c4946d42e0 refac 2024-08-17 16:24:11 +02:00
Timothy J. Baek
862a30842c refac: chat_completion_inlets_handler -> chat_completion_filter_functions_handler 2024-08-17 16:00:18 +02:00
Timothy Jaeryang Baek
cbb0940ff8
Merge pull request #4602 from michaelpoluektov/tools-refac-1
refactor, perf: Tools refactor (progress PR 1)
2024-08-17 15:50:40 +02:00
Craig Quiter
5f36807dbe Note tts defaults are from openai 2024-08-16 15:42:15 -07:00
Craig Quiter
442f50303a Sanitize voice_id 2024-08-16 15:10:53 -07:00
Craig Quiter
4560f3b1ae Return a dict from get_available_voices 2024-08-16 15:10:51 -07:00
Craig Quiter
59d2c670ba Optimize imports 2024-08-16 15:10:47 -07:00
Craig Quiter
02577f6a45 Cache elevenlabs voice call (can take 1s) 2024-08-16 15:10:41 -07:00
Michael Poluektov
b6d6094018
Merge branch 'dev' into tools-refac-1 2024-08-15 21:35:31 +01:00
Timothy J. Baek
8c2ba7f7ea enh: Actions __webui__ flag support 2024-08-15 17:28:43 +02:00
Timothy Jaeryang Baek
723caf2a09
Merge pull request #4621 from nthe/main
feat: Set content-type header in Ollama backend
2024-08-15 15:45:51 +02:00
Timothy J. Baek
ba370438b2 refac: "any maskable" is discouraged 2024-08-15 13:24:47 +02:00
Juraj Onuska
f73a60d96c fix: set content-type header in ollama backend 2024-08-15 13:15:12 +02:00
Sebastian
afe1f13c5b
Make PWA icon maskable 2024-08-15 00:46:22 +02:00
Michael Poluektov
4042219b3e minor refac 2024-08-14 21:40:00 +01:00
Michael Poluektov
fdc89cbcee tool calling refactor 2024-08-14 21:40:00 +01:00
Michael Poluektov
6df6170c44 add get_configured_tools 2024-08-14 21:40:00 +01:00
Michael Poluektov
d598d4bb93 typing and tweaks 2024-08-14 21:40:00 +01:00
Michael Poluektov
790bdcf9fc rename tool calling helpers to use 'tool' instead of 'function' 2024-08-14 21:40:00 +01:00
Michael Poluektov
2efcda837c add try: except back 2024-08-14 21:40:00 +01:00
Michael Poluektov
e86688284a factor out get_function_calling_payload 2024-08-14 21:40:00 +01:00