Timothy J. Baek
e183b0e5ff
chore: format
2024-06-16 15:34:15 -07:00
Timothy J. Baek
4b6b33b08b
feat: user_location
2024-06-16 15:32:26 -07:00
perf3ct
10fa887eab
fix peewee and playhouse connections to retry
2024-06-16 15:25:48 -07:00
John Karabudak
c00a6fa02a
added ability to set user name for federated auth
...
this commit adds an optional environment variable named `WEBUI_AUTH_TRUSTED_NAME_HEADER`, which sets the user's name to the contents of that header. this only happens if the user is just being created, just like how the trusted e-mail header works.
if the environment variable or header is not present, we fall back to the original behavior which is to re-use the user e-mail address.
Co-Authored-By: Nikita Borzykh <sample@fastmail.com>
2024-06-16 18:44:10 -02:30
John Karabudak
ea074fa9bf
added Stable Diffusion 3 support alongside ComfyUI configuration
...
this commit adds four environment variables:
- COMFYUI_CFG_SCALE
- COMFYUI_SAMPLER
- COMFYUI_SCHEDULER
- COMFYUI_SD3 (merely setting this at all will enable SD3 mode)
2024-06-16 15:30:52 -02:30
Timothy Jaeryang Baek
c8418da8c1
Merge pull request #3217 from theasp/better-body-logging
...
chore: Log API request bodies at debug level
2024-06-16 09:07:22 -07:00
perf3ct
75d713057c
Merge remote-tracking branch 'upstream/main' into feature-external-db-reconnect
2024-06-16 09:03:57 -07:00
Andrew Phillips
c0c875eae2
Use log.debug() for logging request bodies for the backend API
2024-06-16 12:40:16 -03:00
Andrew Phillips
3eba963d03
Remove redundant logging
2024-06-16 12:38:20 -03:00
Jun Siang Cheah
4ff17acc1b
Merge remote-tracking branch 'upstream/dev' into feat/oauth
2024-06-16 08:31:05 +01:00
Que Nguyen
a02ba52de8
Merge branch 'dev' into searxng
2024-06-15 23:44:31 +07:00
Timothy J. Baek
2f501aee14
chore: format
2024-06-15 03:36:17 -06:00
Timothy J. Baek
3c599e24e5
refac
2024-06-15 03:35:44 -06:00
Timothy Jaeryang Baek
a6ee7415d8
Merge pull request #3116 from Peter-De-Ath/memories-edit
...
feat: add abilty to edit memories
2024-06-15 01:58:57 -07:00
Peter De-Ath
bec00e7e64
fix: change update_memory to correct naming convention
...
fix: update update_memory to POST
2024-06-14 21:23:34 +01:00
Timothy Jaeryang Baek
8db439a0d1
Merge pull request #3177 from Yash-1511/main
...
feat: add tavily web search in web search provider
2024-06-14 11:09:59 -07:00
Yash-1511
b9da72560a
feat: add tavily web search in web search provider
2024-06-14 20:44:11 +05:30
Timothy Jaeryang Baek
26505079b8
Merge pull request #3107 from TheTerrasque/defect/ollama-long-response-timeout
...
Fix: ollama long response timeout
2024-06-14 02:45:55 -07:00
Timothy J. Baek
454a386612
refac
2024-06-14 00:10:52 -07:00
Sam McLeod
3f5e36271f
feat: add num_keep, num_batch
2024-06-14 16:21:20 +10:00
Peter De-Ath
493e3068d8
enh: ability to edit memories
2024-06-13 02:42:07 +01:00
Que Nguyen
7b5f434a07
Implement domain whitelisting for web search results
2024-06-13 07:14:48 +07:00
Mikael Turøy
e130ad74d1
Added timeout setting for ollama streaming response
2024-06-12 22:50:15 +02:00
Timothy J. Baek
bdd2ac0015
fix/refac: docs
2024-06-12 13:45:13 -07:00
Timothy J. Baek
c794d59fd5
revert: do not change the default
2024-06-12 11:47:19 -07:00
Timothy Jaeryang Baek
90dadf0bec
Merge pull request #3073 from que-nguyen/searxng
...
Set searxng language to auto and enable safesearch (moderate).
2024-06-12 11:26:10 -07:00
Timothy J. Baek
1163745a03
revert
2024-06-12 11:08:05 -07:00
Que Nguyen
305ec59d76
Set searxng language as 'auto' and enable safesearch (moderate).
...
Configure searxng with language param set to auto and add "safesearch": 1 (moderate) for safer web results.
2024-06-12 21:33:33 +07:00
Timothy J. Baek
c0ca447041
chore: format
2024-06-12 01:37:53 -07:00
Timothy Jaeryang Baek
5d3db15eca
Merge pull request #3049 from que-nguyen/dev
...
Refactor URL validation function
2024-06-12 01:36:34 -07:00
Timothy J. Baek
e8fc522eba
chore: format
2024-06-12 00:18:22 -07:00
Que Nguyen
eb7bba81fe
Refactor URL validation function
...
- The check for private IP addresses often did not yield the expected results, especially with errors like: `[Errno -2] Name or service not known`.
- Removed the check for private IP addresses in the URL validation process.
- Simplified the `validate_url` function to focus on validating the URL format and checking the existence of the URL using a HEAD request.
2024-06-12 08:15:04 +07:00
Timothy J. Baek
9bd054490f
refac
2024-06-11 14:32:01 -07:00
Timothy J. Baek
2be14d57bf
fix
2024-06-11 14:30:18 -07:00
Timothy J. Baek
0bb26ae504
refac: tools
2024-06-11 11:31:14 -07:00
Timothy Jaeryang Baek
d709038b5b
Merge pull request #3029 from Yash-1511/main
...
feat: add DuckDuckGo search functionality using duckduckgo_search library
2024-06-11 09:53:26 -07:00
Que Nguyen
3bec60b80c
Fixed the issue where a single URL error disrupts the data loading process in Web Search mode
...
To address the unresolved issue in the LangChain library where a single URL error disrupts the data loading process, the lazy_load method in the WebBaseLoader class has been modified. The enhanced method now handles exceptions appropriately, logging errors and continuing with the remaining URLs.
2024-06-11 22:06:14 +07:00
Yash-1511
83f9475584
feat: add DuckDuckGo search functionality using duckduckgo_search library
2024-06-11 19:49:08 +05:30
Timothy J. Baek
1e1b372d07
fix
2024-06-11 01:18:05 -07:00
Timothy J. Baek
bd5a8567ef
refac: tools & rag
2024-06-11 01:10:24 -07:00
Timothy J. Baek
91bc65c7da
fix
2024-06-11 00:50:30 -07:00
Timothy J. Baek
a27175d672
feat: fc integration
2024-06-10 23:40:27 -07:00
Timothy J. Baek
ff1cd306d8
refac
2024-06-10 22:38:48 -07:00
Timothy J. Baek
8464b30485
refac
2024-06-10 22:10:53 -07:00
Timothy J. Baek
c961964647
enh: tool id validation
2024-06-10 21:59:06 -07:00
Timothy J. Baek
4601a0246f
fix: tool edit
2024-06-10 21:53:51 -07:00
Timothy J. Baek
1611a3aa70
feat: export tools
2024-06-10 21:36:13 -07:00
Timothy J. Baek
b434ebf3ad
feat: tools integration
2024-06-10 21:33:46 -07:00
Timothy J. Baek
3a96e1f109
feat: tools backend
2024-06-10 20:39:55 -07:00
Timothy J. Baek
8b1e2ce279
feat: code format
2024-06-10 17:12:48 -07:00
Timothy J. Baek
644f0fe6c3
chore: version bump
2024-06-10 13:52:35 -07:00
teampen
14d33f0fcc
Merge branch 'add-serply' into dev
2024-06-09 21:40:50 -04:00
teampen
efb4a710c8
adding Serply as an alternative web search
2024-06-09 20:44:34 -04:00
Timothy J. Baek
a93645aee8
refac
2024-06-09 15:08:23 -07:00
Timothy J. Baek
28ca6fb678
refac
2024-06-09 15:04:33 -07:00
Timothy J. Baek
5e7237b9cb
refac: title generation
2024-06-09 14:25:31 -07:00
Timothy J. Baek
84defafc14
feat: unified chat completions endpoint
2024-06-09 13:17:44 -07:00
Timothy J. Baek
c44fc82ecd
refac: openai
2024-06-09 12:43:54 -07:00
Timothy J. Baek
f2b9a5f5bf
refac: rag
2024-06-09 03:01:25 -07:00
Timothy Jaeryang Baek
8c95a8be3a
Merge pull request #2943 from choltha/fix/temperature-params
...
fix: model settings temperature not passed correctly from model settings to ollama/openai api
2024-06-09 01:56:18 -07:00
Christoph Holthaus
97b39115a1
fix: temperature not passed correctly
2024-06-09 09:49:24 +02:00
Timothy J. Baek
3499ec3f79
fix: tts
2024-06-08 13:18:42 -07:00
Timothy J. Baek
5cbb79fa6e
fix: safari audio issue
2024-06-08 02:07:19 -07:00
Timothy J. Baek
277e7aead7
refac
2024-06-08 00:52:19 -07:00
Timothy Jaeryang Baek
dbde628141
Merge pull request #2923 from mindspawn/outlook-msg
...
Support Outlook Message File Format
2024-06-07 21:50:03 -07:00
mindspawn
6f9148ac4c
Update main.py
2024-06-07 21:41:30 -07:00
Timothy J. Baek
d7d8896e43
fix: active users
2024-06-07 21:38:09 -07:00
mindspawn
4ecc1c06d3
Update main.py
2024-06-07 21:18:04 -07:00
Timothy J. Baek
e516374d54
feat: external stt
2024-06-07 20:31:52 -07:00
Timothy J. Baek
55dc6c1b3b
refac: audio
2024-06-07 20:18:48 -07:00
Timothy J. Baek
da47c2dfa3
refac: active users
2024-06-07 17:35:01 -07:00
Timothy J. Baek
4a73a01c24
refac
2024-06-06 20:44:42 -07:00
Jun Siang Cheah
ae376ec8fe
Merge remote-tracking branch 'upstream/dev' into feat/oauth
2024-06-05 19:23:52 +01:00
Timothy J. Baek
d077b3dcdb
fix: ollama version request when ollama api is disabled
2024-06-05 09:08:52 -07:00
Timothy J. Baek
92d056c982
fix: running models
2024-06-04 11:38:31 -07:00
Timothy J. Baek
2be9c25ba7
feat: show current running models
2024-06-04 11:13:43 -07:00
Timothy J. Baek
7cf80289c3
fix: active users
2024-06-04 09:52:27 -07:00
Timothy J. Baek
bbfa54a6b9
feat: active user count
2024-06-04 01:10:31 -07:00
Timothy J. Baek
4925a6530b
fix: banner z index
2024-06-04 00:45:56 -07:00
Timothy J. Baek
85484392b2
feat: websocket
2024-06-03 23:39:52 -07:00
Timothy J. Baek
0495f01acb
feat: reset upload dir
2024-06-03 21:45:36 -07:00
Timothy Jaeryang Baek
8c3a6eb262
Merge pull request #2799 from mindspawn/proxy-fix
...
Enable use of http_proxy environment variable in openai and ollama calls
2024-06-03 21:19:53 -07:00
Timothy J. Baek
25336f85f3
feat: admin details in account pending overlay
2024-06-03 21:17:43 -07:00
mindspawn
74ed74f1a4
Enable http_proxy use for ollama calls.
2024-06-03 20:43:25 -07:00
mindspawn
94ebf02719
Enable http_proxy use for openai calls.
2024-06-03 20:41:59 -07:00
Timothy J. Baek
61867c1545
Update searxng.py
2024-06-03 17:02:50 -07:00
Timothy J. Baek
4068a421bf
fix
2024-06-03 17:00:35 -07:00
Timothy Jaeryang Baek
768941bded
Merge pull request #2785 from cheahjs/feat/openai-embeddings-batch
...
feat: add RAG_EMBEDDING_OPENAI_BATCH_SIZE to batch multiple embeddings
2024-06-03 13:50:14 -07:00
Jun Siang Cheah
7fefbb316d
fix: add backwards compat with older searxng urls
2024-06-03 21:13:10 +01:00
Timothy Jaeryang Baek
92d9b38110
Merge branch 'dev' into feat/openai-embeddings-batch
2024-06-03 12:39:09 -07:00
Lyuboslav Petrov
08443b3c55
Revert log level to debug
2024-06-03 12:48:40 +03:00
Lyuboslav Petrov
7e761a69a7
FIX searxng URL construction using params for arg passing
...
Accept additional parameters such as language, time_range, and categories to tailor the search results.
Raise an exception if a request error occurs during the search process.
Use params argument to construct the query string
Sort by relevance
Expand docstring
2024-06-03 12:44:46 +03:00
Timothy J. Baek
fddf693dad
feat: single chat export
2024-06-02 21:39:09 -07:00
Timothy Jaeryang Baek
c5ff4c24e1
Merge branch 'dev' into fix/ollama-cancellation
2024-06-02 16:27:01 -07:00
Timothy J. Baek
27ff3ab112
fix: validate lengths for openai urls and keys
2024-06-02 16:20:22 -07:00
Timothy J. Baek
e0ba585204
feat: include num_thread in advanced params
2024-06-02 13:20:38 -07:00
Jun Siang Cheah
b5b2b70f4a
fix: bad payload refactor
2024-06-02 19:40:18 +01:00
Jun Siang Cheah
7f74426a22
fix: openai streaming cancellation using aiohttp
2024-06-02 18:48:45 +01:00
Jun Siang Cheah
4dd51badfe
fix: ollama streaming cancellation using aiohttp
2024-06-02 18:06:12 +01:00
Jun Siang Cheah
24c35c308d
fix: stream defaults to true, return request ID
2024-06-02 17:09:15 +01:00
Jun Siang Cheah
0cb8163321
feat: add RAG_EMBEDDING_OPENAI_BATCH_SIZE to batch multiple embeddings
2024-06-02 15:34:31 +01:00
Timothy J. Baek
a53796270f
refac: web search config
2024-06-01 20:08:08 -07:00
Timothy J. Baek
fbdfb7e4fa
refac: web search
2024-06-01 19:57:00 -07:00
Timothy J. Baek
999d2bc21b
refac: web search
2024-06-01 19:52:12 -07:00
Timothy J. Baek
912a704fdc
refac: web search settings
2024-06-01 19:40:48 -07:00
Timothy J. Baek
ea6b8984ab
refac: web search
2024-06-01 19:03:56 -07:00
Timothy J. Baek
c6a57b1f6f
feat: export litellm config.yaml
2024-06-01 16:31:39 -07:00
Timothy J. Baek
cb8c45d864
fix: pipelines
2024-05-31 13:30:12 -07:00
Timothy J. Baek
7674229e3a
feat: chat clone
2024-05-31 10:30:42 -07:00
Беклемишев Петр Алексеевич
ad32a2ef3c
Drop mysql restarts
2024-05-31 13:26:23 +07:00
Беклемишев Петр Алексеевич
e59e1f5049
Fix rebase artifacts
2024-05-30 20:44:13 +07:00
Беклемишев Петр Алексеевич
dfbc125947
Reconnect to postgresql & mysql external databases when getting disconnected
2024-05-30 20:41:06 +07:00
Timothy J. Baek
4715160b53
fix: pipelines
2024-05-29 22:41:51 -07:00
Timothy J. Baek
e427ef767b
fix: openai proxy
2024-05-29 11:28:42 -07:00
Timothy J. Baek
5cf44ac7da
feat: display pipelines server in api settings
2024-05-29 01:36:13 -07:00
Timothy J. Baek
e8d4e03c0d
refac: openai allow empty key
2024-05-29 01:12:25 -07:00
Timothy J. Baek
74a8deb19f
refac
2024-05-27 14:25:36 -07:00
Timothy J. Baek
4685f523b6
refac
2024-05-27 12:48:08 -07:00
Jun Siang Cheah
6a36039a59
Merge remote-tracking branch 'upstream/dev' into feat/oauth
2024-05-27 18:14:43 +01:00
Jun Siang Cheah
985fdca585
refac: move things around, uplift oauth endpoints
2024-05-27 18:07:38 +01:00
Timothy Jaeryang Baek
bced90734b
Merge branch 'websearch' into feat/backend-web-search
2024-05-26 23:40:05 -07:00
Timothy J. Baek
ccbafca74c
feat: save user settings to db
2024-05-26 22:47:42 -07:00
Timothy Jaeryang Baek
78dedb3389
Merge branch 'dev' into feat/disable-community-sharing
2024-05-26 10:00:51 -10:00
Timothy J. Baek
242d4f0c8d
feat: banners
...
Co-Authored-By: Jun Siang Cheah <me@jscheah.me>
2024-05-26 12:18:43 -07:00
Jun Siang Cheah
1235714914
feat: add ENABLE_COMMUNITY_SHARING
2024-05-26 17:10:25 +01:00
Jun Siang Cheah
776bb2892c
fix: bad user get
2024-05-26 13:07:41 +01:00
Jun Siang Cheah
7385016e36
fix: only get user by emails without oauth sub
2024-05-26 11:59:21 +01:00
Jun Siang Cheah
276b7b90b8
Merge remote-tracking branch 'upstream/dev' into feat/backend-web-search
2024-05-26 11:31:23 +01:00
Jun Siang Cheah
aba6308825
Merge remote-tracking branch 'upstream/dev' into feat/include-git-hash-everywhere
2024-05-26 11:27:02 +01:00
Jun Siang Cheah
0210a105bf
feat: experimental SSO support for Google, Microsoft, and OIDC
2024-05-26 11:26:15 +01:00
Timothy J. Baek
83107c8ea5
feat: archive all
2024-05-26 02:54:35 -07:00
Timothy J. Baek
e20bb23409
feat: access archived chats as admin
2024-05-26 02:00:31 -07:00
Timothy J. Baek
555e4e32d5
feat: allow insecure pull
2024-05-26 01:31:17 -07:00
Timothy J. Baek
84bfebd05e
fix
2024-05-26 01:17:57 -07:00
Timothy J. Baek
633607a5c2
fix
2024-05-26 01:16:58 -07:00
Timothy J. Baek
1fce466253
refac: folder rename web -> webui
2024-05-26 01:15:48 -07:00
Jun Siang Cheah
4fdb26fdc4
refac: rename build hash vars
2024-05-26 08:49:30 +01:00
Timothy J. Baek
79f440f302
refac: byebye litellm
2024-05-25 14:43:35 -07:00
Timothy J. Baek
afcab78cab
fix: models
2024-05-25 13:48:45 -07:00
Jun Siang Cheah
b1265c9c34
Merge remote-tracking branch 'upstream/dev' into feat/backend-web-search
2024-05-25 14:55:49 +01:00
Timothy J. Baek
42dcf1b08c
refac: stop param
2024-05-25 02:26:26 -07:00
Timothy J. Baek
88d053833d
feat: preset backend logic
2024-05-25 02:05:05 -07:00
Timothy J. Baek
0715cd2811
feat: model capabilities
2024-05-24 23:34:58 -07:00
Timothy J. Baek
dac9634242
feat: create model
2024-05-24 22:21:57 -07:00
Timothy J. Baek
ca3108a54d
refac
2024-05-24 20:29:13 -07:00
Timothy J. Baek
e316abcfc8
refac: better migration script
2024-05-24 19:26:27 -07:00
Timothy J. Baek
708d755eda
feat: model update
2024-05-24 18:26:36 -07:00
Timothy J. Baek
468c6398cd
feat: unified models integration
2024-05-24 03:02:56 -07:00
Timothy J. Baek
e80e4c304a
refac
2024-05-24 02:17:48 -07:00
Timothy J. Baek
6dbd59c7c6
fix: migration
2024-05-24 01:43:04 -07:00