Commit Graph

6731 Commits

Author SHA1 Message Date
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
Timothy J. Baek
3c03d5069d refac: styling 2024-09-18 01:31:49 +02:00
Timothy J. Baek
705508a674 refac: allow chat menu in mobile 2024-09-18 01:30:09 +02:00
Timothy J. Baek
771482c6e6 refac 2024-09-18 01:25:28 +02:00
Timothy J. Baek
d25ccfba5f refac: styling 2024-09-18 01:21:32 +02:00
Timothy J. Baek
614c219010 enh: prepend image filename with prompt 2024-09-18 01:04:20 +02:00
Timothy J. Baek
63b3076d64 refac 2024-09-18 00:52:06 +02:00
Timothy J. Baek
8e3ad45ce4 enh: model move to top 2024-09-18 00:49:27 +02:00
Timothy J. Baek
984e0c533e refac 2024-09-18 00:18:47 +02:00
Timothy J. Baek
5065291f72 feat: save as new response message 2024-09-17 23:36:48 +02:00
Timothy J. Baek
8c273ba58a refac 2024-09-17 23:23:38 +02:00
Timothy J. Baek
7a9c0946a4 refac 2024-09-17 23:13:51 +02:00
Timothy J. Baek
7e0a26ef4e refac 2024-09-17 23:07:04 +02:00
Timothy J. Baek
65b7c9898b fix 2024-09-17 23:02:41 +02:00
Timothy J. Baek
67f95ddfdc refac 2024-09-17 22:58:06 +02:00
Timothy J. Baek
d1dbb9a3be feat: chat overview 2024-09-17 22:05:19 +02:00
Timothy J. Baek
bb087a5989 enh: chat copy button 2024-09-17 21:32:39 +02:00
Timothy Jaeryang Baek
a0d24105fc
Merge pull request #5473 from aleixdorca/dev
i18n: Update Catalan Translation
2024-09-17 17:18:40 +02:00
Timothy Jaeryang Baek
a5c9160b7d
Merge pull request #5466 from phil-ogb/add-security-response-headers
feat: security response headers
2024-09-17 17:18:28 +02:00
Aleix Dorca
0e2cdbe9fb
Minor typo 2024-09-17 16:49:05 +02:00
Aleix Dorca
3c55a46484
i18n: Update Catalan translation.json 2024-09-17 16:46:52 +02:00