Commit Graph

6351 Commits

Author SHA1 Message Date
Timothy J. Baek
619dbbe9f5 refac 2024-09-19 22:21:35 +02:00
Timothy J. Baek
9be73ea94a refac 2024-09-19 22:17:32 +02:00
Timothy J. Baek
4e43663448 refac 2024-09-19 22:12:54 +02:00
Timothy J. Baek
cd117f5b67 refac 2024-09-19 21:51:45 +02:00
Timothy J. Baek
2dad9b9432 refac 2024-09-19 20:56:13 +02:00
Timothy J. Baek
b0bc36f2af fix 2024-09-19 18:47:02 +02:00
Timothy J. Baek
1688f5ecaf refac 2024-09-19 18:42:01 +02:00
Timothy J. Baek
cba2d31175 refac 2024-09-19 18:40:23 +02:00
Timothy J. Baek
a2b77fd072 refac 2024-09-19 18:08:52 +02:00
Timothy J. Baek
9b83e57372 refac 2024-09-19 17:46:11 +02:00
Timothy J. Baek
687cae9b79 refac 2024-09-19 17:31:59 +02:00
Timothy J. Baek
f8fffdd288 refac: max_tokens -> max_completion_tokens 2024-09-19 17:19:31 +02:00
Timothy J. Baek
60d6279055 chore: format 2024-09-19 17:09:05 +02:00
Timothy J. Baek
7b330d1490 refac 2024-09-19 17:05:49 +02:00
Timothy J. Baek
7078af635c refac 2024-09-19 17:02:59 +02:00
Timothy J. Baek
e1b57d80a4 chore: format 2024-09-19 16:57:34 +02:00
Timothy J. Baek
8426874426 fix 2024-09-19 16:54:34 +02:00
Timothy J. Baek
70dd790afc refac: default rag params 2024-09-19 16:44:33 +02:00
Timothy J. Baek
e99cba53fe enh: stream=false support 2024-09-19 16:25:59 +02:00
Timothy J. Baek
628d7ae72d refac 2024-09-19 16:20:07 +02:00
Timothy J. Baek
ff737a9e25 enh: openai error message handling 2024-09-19 16:20:00 +02:00
Timothy J. Baek
5c16631ec5 refac 2024-09-19 15:35:01 +02:00
Timothy Jaeryang Baek
d52eaf19d6
Merge pull request #5511 from EtiennePerot/import-file
fix: restore `__file__` variable for imported toolkits and functions
2024-09-19 15:29:34 +02:00
Timothy J. Baek
27dd6ef14e refac 2024-09-19 05:15:06 +02:00
Timothy J. Baek
ed75f72358 refac 2024-09-19 03:53:07 +02:00
Timothy J. Baek
276d629a14 fix: message delete 2024-09-19 03:49:35 +02:00
Timothy J. Baek
aedd77b81d refac 2024-09-19 03:27:54 +02:00
Timothy J. Baek
1053863175 chore: format 2024-09-19 03:24:39 +02:00
Timothy J. Baek
f448341211 chore: format 2024-09-19 03:24:34 +02:00
Timothy Jaeryang Baek
9fc6b999d0
Merge pull request #5509 from open-webui/dev-playback-controls
feat: playback controls
2024-09-19 03:23:16 +02:00
Timothy J. Baek
ff2fff857a refac: styling 2024-09-19 03:22:55 +02:00
Timothy Jaeryang Baek
dd4cf102cc
Merge pull request #5313 from zabirauf/u/zabirauf/speech-speed
feat: Added speech playback speed control for Call mode
2024-09-19 02:44:27 +02:00
Timothy Jaeryang Baek
5d3a89dd25
Merge pull request #5496 from pawel-ochman/azure-tts
Integrate Azure Speech service for TTS
2024-09-19 02:42:45 +02:00
Timothy J. Baek
b4f1a0b5a6 refac 2024-09-19 02:42:24 +02:00
Timothy J. Baek
afa42dd2e4 refac 2024-09-19 02:40:54 +02:00
Timothy J. Baek
be44af4680 enh: focus on current message 2024-09-19 01:25:46 +02:00
Timothy J. Baek
e6b6f42139 refac: display error content on node 2024-09-18 16:46:13 +02:00
Pawel Ochman
4d9677e808 Update configuration page, expose all Azure settings through ENV variables 2024-09-18 14:13:42 +01:00
Pawel Ochman
eacb69074e remove dependency and migrate to raw rest calls 2024-09-18 12:24:55 +01:00
Etienne Perot
6477bf37fe
fix: restore __file__ variable for imported toolkits and functions
Commit cf86ba7786 changed the way toolkits
and functions were imported to use `exec`, whereas they previously were
written to files and `import`ed. The use of `exec` means that
module-global variables such as `__file__` are no longer defined.

This breaks https://github.com/EtiennePerot/open-webui-code-execution
(code execution tool for Open WebUI), as the module needs to re-execute
its own code in a subprocess in order to properly sandbox itself. This
is done using `__file__` in order to know where the module's code is
located.

This PR creates a temporary in-memory file that contains the imported
toolkit or function's code and exists only during the import process.
Then it injects the path to this in-memory file as the `__file__`
variable in the `exec` context. This restores the ability for the
toolkit or function being imported to rely on `__file__`.
2024-09-18 01:08:30 -07:00
Timothy J. Baek
1743d3c6c1 fix 2024-09-18 03:47:04 +02:00
Timothy J. Baek
e723b2a4c6 refac 2024-09-18 03:19:32 +02:00
Timothy J. Baek
67f704c98d enh: scroll to message from overview 2024-09-18 03:13:37 +02:00
Timothy J. Baek
8d92093570 enh: node show content as tooltip 2024-09-18 02:55:25 +02:00
Timothy J. Baek
1ccac9111b refac: only animate active edges 2024-09-18 02:42:19 +02:00
Timothy J. Baek
98984166f9 refac: styling 2024-09-18 02:11:25 +02:00
Timothy J. Baek
d1bf18eeb0 fix 2024-09-18 01:57:27 +02:00
Timothy J. Baek
2018a6c000 fix: styling 2024-09-18 01:53:08 +02:00
Timothy J. Baek
56152230f8 refac 2024-09-18 01:39:22 +02:00
Timothy J. Baek
7e8cf5504a refac: styling 2024-09-18 01:35:22 +02:00