Commit Graph

4991 Commits

Author SHA1 Message Date
Timothy Jaeryang Baek
ddd1a437ae
Merge pull request #575 from Mulugruntz/sgiffard/nvidia-gpu-on-wsl2
Enhance GPU detection logic to support WSL2 environments
2024-01-25 10:40:27 -08:00
Samuel GIFFARD
2cb4112145
Enhance GPU detection logic to support WSL2 environments
This commit updates the GPU detection logic in the setup script to accommodate environments where NVIDIA GPUs might not be directly listed by `lspci`, such as in Windows Subsystem for Linux 2 (WSL2). The revised logic now attempts to identify NVIDIA GPUs using both `lspci` and `nvidia-smi`, ensuring broader compatibility and recognizing GPUs that are accessible in WSL2. This change allows the script to correctly detect NVIDIA GPUs in a wider range of setups, improving user experience and script robustness in diverse environments.
2024-01-25 18:09:53 +01:00
Doug Winzell
ca188b14ab
Rename SECURITY.md to docs/SECURITY.md
Moved Security.md to /docs Will still show up on the GH security tab.
2024-01-25 07:54:18 -08:00
Xiaodong Ye
4ee655c075 Reduce container image size
Signed-off-by: Xiaodong Ye <yeahdongcn@gmail.com>
2024-01-25 18:08:35 +08:00
Timothy Jaeryang Baek
0ab33bd5f3
Merge pull request #568 from ollama-webui/litellm-rag-fix
fix: rag message body format
2024-01-25 01:37:09 -08:00
Timothy J. Baek
da16d43be0 fix: rag message body format 2024-01-25 01:36:45 -08:00
Timothy Jaeryang Baek
6b3b4ced1c
Merge pull request #567 from ollama-webui/wording
refac: model select option wording
2024-01-25 01:27:51 -08:00
Timothy J. Baek
a24217f670 refac: model select option wording 2024-01-25 01:27:35 -08:00
Timothy Jaeryang Baek
d6b139cfe9
Merge pull request #559 from peperunas/patch-2
fix: use exec the uvicorn process to handle Docker's SIGTERM correctly
2024-01-25 00:47:45 -08:00
Timothy Jaeryang Baek
a243e53bfe
Merge pull request #536 from lucasew/backend-data-dir
Unhardcode some stuff, flexibilize dotenv requirement
2024-01-25 00:42:12 -08:00
Timothy J. Baek
326af5a648 refac 2024-01-25 00:40:19 -08:00
Timothy Jaeryang Baek
755cadb522
Merge pull request #563 from yeahdongcn/main
Add default voice setting and apply to chat
2024-01-25 00:34:08 -08:00
Timothy Jaeryang Baek
d29321f1ec
Merge pull request #554 from Marclass/main
feat: Add excel parser for RAG
2024-01-25 00:33:32 -08:00
Timothy J. Baek
4e468dc58c refac 2024-01-25 00:24:49 -08:00
Xiaodong Ye
695bc56144 Remove the commented-out code
Signed-off-by: Xiaodong Ye <yeahdongcn@gmail.com>
2024-01-25 16:19:38 +08:00
Timothy Jaeryang Baek
fa5918ad13
Merge branch 'main' into main 2024-01-25 00:13:12 -08:00
Timothy J. Baek
3b7f7c6e32 fix: loop until voice list available 2024-01-25 00:07:27 -08:00
Timothy J. Baek
9101c174d8 refac: voice setting moved to add-on 2024-01-25 00:02:46 -08:00
Timothy Jaeryang Baek
39986c4ec8
Merge pull request #565 from ollama-webui/search-fix
fix: search
2024-01-24 23:51:53 -08:00
Timothy J. Baek
3848b2c8ed fix: search 2024-01-24 23:51:22 -08:00
Xiaodong Ye
b297b432f7 Add default voice setting and apply to chat 2024-01-25 15:07:00 +08:00
Giulio De Pasquale
1cbbfc7c66
fix: use exec the uvicorn process to handle Docker's SIGTERM correctly
Replace the shell with the uvicorn process, so it becomes PID 1 and receives the signals directly
2024-01-24 17:57:35 +00:00
Giulio De Pasquale
c4dd20b087
fix: use bash when starting the Dockerfile's entrypoint script (as the script uses BASH_SOURCE that is bash only) 2024-01-24 17:56:04 +00:00
Doug Winzell
55820b7991
Create SECURITY.md
Hello Team,

As the continued popularity of this project increases we should be taking our projects goals in mind with concerns to privacy and security. In the near future I would like to at least start testing the codebase with SAST(semgrep) and Synk.io (Software Composition Analysys) To highlight any potential weaknesses in the security of the product. 

I am happy to start contributing from the security side.
2024-01-24 07:08:49 -08:00
Timothy Jaeryang Baek
b6d9cf3bc8
Merge pull request #553 from baumandm/chore/fast-docker-builds
chore: optimize dockerfile order for caching
2024-01-23 14:23:17 -08:00
Marclass
1e932d91cb Update constants.ts
add excel file ext
2024-01-23 14:04:40 -07:00
Marclass
8bfda730d9 add excel document support 2024-01-23 14:03:22 -07:00
lucasew
8da06f5e74 fixes after the refactor
Signed-off-by: lucasew <lucas59356@gmail.com>
2024-01-23 12:59:52 -03:00
Dave Bauman
255fbb3c96
chore: optimize dockerfile order for caching 2024-01-23 07:48:27 -05:00
Timothy Jaeryang Baek
ca943d0795
Merge pull request #549 from Marclass/main
Bugfix: Fix toast error popup when front end can't figure out file type.
2024-01-22 23:13:53 -08:00
Timothy Jaeryang Baek
7054f02891
Merge pull request #466 from baumandm/feat/epub-support
feat: Add epub support
2024-01-22 23:12:46 -08:00
Timothy J. Baek
5188bab560 Update Dockerfile 2024-01-22 23:11:50 -08:00
Marclass
7eea3ef313 copy list of file ext from backend to front end 2024-01-23 00:00:07 -07:00
Timothy Jaeryang Baek
d517a3ebb4
Merge pull request #547 from Marclass/main
feat: Add reStructuredText specific parser for RAG
2024-01-22 22:19:41 -08:00
Timothy J. Baek
29dd973db9 refac: frontend supported file extensions 2024-01-22 22:18:12 -08:00
Timothy Jaeryang Baek
e2ec19b472
Merge pull request #548 from ollama-webui/custom-interface
feat: custom interface support
2024-01-22 21:55:31 -08:00
Timothy J. Baek
ef68719b7d Update +page.svelte 2024-01-22 21:53:48 -08:00
Timothy J. Baek
c4a039326f feat: editable prompt suggestions integration 2024-01-22 21:53:13 -08:00
Timothy J. Baek
4e1b52e91b feat: custom interface support 2024-01-22 21:07:40 -08:00
Marclass
2e4373c63e
Merge branch 'ollama-webui:main' into main 2024-01-22 21:01:33 -07:00
Timothy Jaeryang Baek
b246c62d2c
Merge pull request #545 from ollama-webui/openai-fix
fix: openai
2024-01-22 09:46:39 -08:00
Timothy J. Baek
d67c632920 fix: openai 2024-01-22 09:45:56 -08:00
Timothy Jaeryang Baek
92d85ae2e6
Merge pull request #543 from ollama-webui/message-refac
refac: response message
2024-01-22 04:17:58 -08:00
Timothy J. Baek
52e7684ff4 fix: code block unmount issue 2024-01-22 04:14:07 -08:00
Timothy J. Baek
917ab08f5c fix: code block styling 2024-01-22 03:43:48 -08:00
Timothy J. Baek
9c72f4da09 fix: styling 2024-01-22 03:42:32 -08:00
Timothy J. Baek
e758855590 refac: response message 2024-01-22 03:33:49 -08:00
Timothy J. Baek
d2c5f3d591 refac: convert str var to f-string 2024-01-22 01:47:07 -08:00
Timothy Jaeryang Baek
1abe5a5487
Merge pull request #537 from CreatorGhost/fix-gpt-4-vision
Add max_tokens workaround for gpt-4-vision-preview model
2024-01-22 01:41:57 -08:00
Timothy J. Baek
83181b7968 fix: add max_token only when field not present 2024-01-22 01:41:00 -08:00