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
Michael Poluektov
ff9d899f9c
fix more LSP errors
2024-08-14 21:40:00 +01:00
Michael Poluektov
a68b918cbb
refactor get_function_call_response
2024-08-14 21:40:00 +01:00
Michael Poluektov
9fb70969d7
factor out get_content_from_response
2024-08-14 21:40:00 +01:00
Michael Poluektov
0c9119d619
move task to metadata
2024-08-14 21:40:00 +01:00
Michael Poluektov
556141cdd8
refactor task
2024-08-14 21:40:00 +01:00
Michael Poluektov
60003c976a
rename to chat_completions_inlet_handler for clarity
2024-08-14 21:40:00 +01:00
Michael Poluektov
23f1bee7bd
cleanup
2024-08-14 21:40:00 +01:00
Michael Poluektov
589efcdc5f
is_chat_completion_request helper, remove nesting
2024-08-14 21:40:00 +01:00
Michael Poluektov
3befadb29f
remove unnecessary nesting, remove unused endpoint
2024-08-14 21:40:00 +01:00
Michael Poluektov
0470146d7b
replace Tuple with tuple
2024-08-14 13:58:37 +01:00
Michael Poluektov
a518d50477
format backend
2024-08-14 13:49:18 +01:00
Michael Poluektov
29f904db45
remove List imports
2024-08-14 13:46:31 +01:00
Michael Poluektov
038fc48ac0
replace == None with is None
2024-08-14 13:39:53 +01:00
Michael Poluektov
6f72def1ac
replace except: with except Exception:
2024-08-14 13:38:19 +01:00
Timothy Jaeryang Baek
9682806476
Merge pull request #4372 from JTHesse/main
...
build: Adding ability to install requirements from frontmatter for tools and functions
2024-08-13 18:18:26 +02:00
Timothy Jaeryang Baek
fc6fa7887b
Merge pull request #4579 from alexandregodard/main
...
Update main.py
2024-08-13 18:17:27 +02:00
Timothy J. Baek
e1e69cfbcb
refac: sft
-> default to safetensors
2024-08-13 17:15:20 +01:00
Alexandre GODARD
7a8f8960c5
Update main.py
...
Fix typo in update_reranking_model
2024-08-13 17:51:25 +02:00
Timothy Jaeryang Baek
30c44d431b
Merge pull request #4538 from open-webui/dependabot/pip/backend/dev/chromadb-0.5.5
...
chore(deps): bump chromadb from 0.5.4 to 0.5.5 in /backend
2024-08-13 12:22:56 +02:00
Timothy Jaeryang Baek
b177976f29
Merge pull request #4539 from open-webui/dependabot/pip/backend/dev/langchain-0.2.12
...
chore(deps): bump langchain from 0.2.11 to 0.2.12 in /backend
2024-08-13 12:22:48 +02:00
Timothy J. Baek
a1888b3757
refac
2024-08-13 11:21:17 +01:00
Timothy J. Baek
70f580ec45
fix
2024-08-12 15:10:08 +01:00
Timothy J. Baek
eae35dddc2
refac
2024-08-12 12:47:54 +01:00
Timothy Jaeryang Baek
bb979c9a78
Merge pull request #4540 from open-webui/dependabot/pip/backend/dev/pytest-approx-eq-8.3.2
...
chore(deps): update pytest requirement from ~=8.2.2 to ~=8.3.2 in /backend
2024-08-12 13:31:02 +02:00
Timothy Jaeryang Baek
4f959c31de
Merge pull request #4537 from open-webui/dependabot/pip/backend/dev/langfuse-2.43.3
...
chore(deps): bump langfuse from 2.39.2 to 2.43.3 in /backend
2024-08-12 13:30:52 +02:00
dependabot[bot]
41460e1335
chore(deps): bump pyjwt[crypto] from 2.8.0 to 2.9.0 in /backend
...
Bumps [pyjwt[crypto]](https://github.com/jpadilla/pyjwt ) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/jpadilla/pyjwt/releases )
- [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0 )
---
updated-dependencies:
- dependency-name: pyjwt[crypto]
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 03:15:42 +00:00
dependabot[bot]
ffdb44f887
chore(deps): update pytest requirement in /backend
...
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest ) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/8.2.2...8.3.2 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 03:15:40 +00:00
dependabot[bot]
549d3b4d10
chore(deps): bump langchain from 0.2.11 to 0.2.12 in /backend
...
Bumps [langchain](https://github.com/langchain-ai/langchain ) from 0.2.11 to 0.2.12.
- [Release notes](https://github.com/langchain-ai/langchain/releases )
- [Commits](https://github.com/langchain-ai/langchain/compare/langchain==0.2.11...langchain==0.2.12 )
---
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-12 03:15:35 +00:00
dependabot[bot]
879f85802a
chore(deps): bump chromadb from 0.5.4 to 0.5.5 in /backend
...
Bumps [chromadb](https://github.com/chroma-core/chroma ) from 0.5.4 to 0.5.5.
- [Release notes](https://github.com/chroma-core/chroma/releases )
- [Changelog](https://github.com/chroma-core/chroma/blob/main/RELEASE_PROCESS.md )
- [Commits](https://github.com/chroma-core/chroma/compare/0.5.4...0.5.5 )
---
updated-dependencies:
- dependency-name: chromadb
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 03:15:30 +00:00
dependabot[bot]
d652a1bbb1
chore(deps): bump langfuse from 2.39.2 to 2.43.3 in /backend
...
Bumps [langfuse](https://github.com/langfuse/langfuse ) from 2.39.2 to 2.43.3.
- [Release notes](https://github.com/langfuse/langfuse/releases )
- [Commits](https://github.com/langfuse/langfuse/commits )
---
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-12 03:15:25 +00:00
Timothy Jaeryang Baek
9c2429ff97
Merge pull request #4402 from michaelpoluektov/remove-ollama
...
refactor: re-use utils in Ollama
2024-08-12 00:45:15 +02:00
Timothy Jaeryang Baek
d0645d3c4f
Merge pull request #4503 from open-webui/dependabot/pip/pip-621ce9c937
...
chore(deps): bump the pip group across 2 directories with 1 update
2024-08-12 00:40:46 +02:00
Michael Poluektov
547611b703
Merge branch 'dev' of https://github.com/open-webui/open-webui into remove-ollama
2024-08-10 11:47:20 +01:00
dependabot[bot]
208833d9f2
chore(deps): bump the pip group across 2 directories with 1 update
...
Bumps the pip group with 1 update in the / directory: [aiohttp](https://github.com/aio-libs/aiohttp ).
Bumps the pip group with 1 update in the /backend directory: [aiohttp](https://github.com/aio-libs/aiohttp ).
Updates `aiohttp` from 3.9.5 to 3.10.2
- [Release notes](https://github.com/aio-libs/aiohttp/releases )
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst )
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.5...v3.10.2 )
Updates `aiohttp` from 3.9.5 to 3.10.2
- [Release notes](https://github.com/aio-libs/aiohttp/releases )
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst )
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.5...v3.10.2 )
---
updated-dependencies:
- dependency-name: aiohttp
dependency-type: direct:production
dependency-group: pip
- dependency-name: aiohttp
dependency-type: direct:production
dependency-group: pip
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-09 18:21:50 +00:00
Timothy Jaeryang Baek
52fd701f2e
Merge pull request #4465 from open-webui/main
...
dev
2024-08-08 14:23:33 +02:00
Michael Poluektov
204a4fbe7a
fix: backend format test
2024-08-08 12:45:23 +01:00
Michael Poluektov
fa4d1d42a5
fix: backend format test
2024-08-08 12:41:41 +01:00
Michael Poluektov
309cd645f1
undo del
2024-08-08 12:30:07 +01:00
Michael Poluektov
a725801e55
fix: formatting test errors, remove print, merge dev
2024-08-08 11:34:48 +01:00
Michael Poluektov
8cdf9814bd
fix: name differences
2024-08-08 11:01:00 +01:00
Michael Poluektov
e6bbce439d
fix: repeat_penalty
2024-08-08 10:52:09 +01:00
Timothy Jaeryang Baek
8d257ed596
Merge commit from fork
...
SSRF Fix
2024-08-08 11:47:33 +02:00
Jan-Timo Hesse
367fa039a0
added install_frontmatter_requirements
2024-08-08 09:46:14 +02:00
Jan-Timo Hesse
71d88fe35d
revert
2024-08-08 09:45:52 +02:00
John Karabudak
958fe9639a
fix: ComfyUI generation no longer causes FastAPI to stall for all users
...
as the get_images() function involves a `while True` loop while waiting for a response from ComfyUI and is not async, when image generation is running the entire UI becomes unresponsive for all users.
furthermore, when image generation takes too long, the Docker health check starts failing.
this is certainly a bad fix as it does not convert everything to async, but rather just puts the blocking loop in a separate thread. however, it works and it at least fixes the problem for now.
2024-08-07 22:24:55 -02:30