Timothy J. Baek
bf6685d887
chore: conflict
2024-01-11 12:51:46 -08:00
Anuraag Jain
a63507c21e
feat: custom port for server
2024-01-11 21:54:14 +02:00
Timothy Jaeryang Baek
5c5bde3b85
Merge pull request #451 from goecho/main
...
Fix bug: Header attributes (Host, Authorization, Origin, Referer) not sanitized.
2024-01-11 03:57:38 -08:00
goecho
74f91bc74d
Fix bug: Header attributes (Host, Authorization, Origin, Referer) not sanitized
...
- Resolved an issue where header attributes Host, Authorization, Origin, and Referer were not being sanitized, resulting in two major issues:
1. Ollama requests inadvertently exposed user information, leading to data leakage.
2. When Ollama is deployed on different servers, and the intermediary proxy layer uses the host header to locate downstream services, it fails to find them.
Root Cause:
- In FastAPI, when accessing request.headers, all header names are converted to lowercase. This is because FastAPI, and its underlying framework Starlette, adhere to the HTTP/2 standard, which mandates lowercase header field names for performance and consistency.
- In HTTP/2, enforcing lowercase header field names reduces complexity in header processing as case sensitivity is no longer a concern. Thus, regardless of the case used in client-sent header fields, the server processes them uniformly in lowercase.
- This practice is adopted in FastAPI and other modern HTTP frameworks, even in an HTTP/1.1 context, to maintain consistency with HTTP/2 and improve overall performance. As a result, header field names are always presented in lowercase in FastAPI, even if the original request used capitalization or mixed case.
2024-01-11 14:36:34 +08:00
Timothy Jaeryang Baek
b1f29aacd8
Merge pull request #448 from ollama-webui/doc-update
...
doc: line break removed
2024-01-10 12:40:10 -08:00
Timothy J. Baek
482b4be1f4
doc: line break removed
2024-01-10 12:39:00 -08:00
Timothy Jaeryang Baek
524841f097
Merge pull request #443 from ollama-webui/doc-update
...
doc: update
2024-01-09 23:13:57 -08:00
Timothy Jaeryang Baek
9ce8bb7c6b
doc: update
2024-01-10 02:13:49 -05:00
Timothy Jaeryang Baek
2d9830b2c2
Merge pull request #442 from ollama-webui/many-models
...
feat: collaborative chat
2024-01-09 23:11:10 -08:00
Timothy J. Baek
a63b8c13f0
refac
2024-01-09 23:10:02 -08:00
Timothy J. Baek
737928e861
feat: better prompt gen template
2024-01-09 23:06:33 -08:00
Timothy J. Baek
9087aa0e30
fix: only ollama models
2024-01-09 22:56:43 -08:00
Timothy J. Baek
de5c02db5b
doc: features
2024-01-09 22:53:22 -08:00
Timothy J. Baek
70029d9bed
feat: @model group convo
2024-01-09 22:47:31 -08:00
Timothy Jaeryang Baek
1633ba4443
Merge pull request #441 from ollama-webui/rag
...
feat: rag md support
2024-01-09 21:10:12 -08:00
Timothy J. Baek
ffba59dc3a
Update requirements.txt
2024-01-09 21:09:28 -08:00
Timothy J. Baek
c1ec604f21
feat: rag md support
2024-01-09 15:24:53 -08:00
Timothy Jaeryang Baek
358f79f533
Merge pull request #439 from ollama-webui/rag-context-management
...
feat: better rag context management
2024-01-09 14:34:37 -08:00
Timothy J. Baek
bf1c026666
feat: better rag context management
2024-01-09 14:33:04 -08:00
Timothy Jaeryang Baek
51eb2645b7
Merge pull request #436 from justinh-rahb/patch-1
...
Improved Docker docs
2024-01-09 13:37:33 -08:00
Timothy Jaeryang Baek
dcf16df166
Merge pull request #438 from ollama-webui/fix
...
fix: gguf upload
2024-01-09 13:34:04 -08:00
Timothy Jaeryang Baek
4f1be8eda5
Merge pull request #433 from Contribution-Tracking/shell-scripts
...
refactor: run.sh and run-ollama-docker.sh
2024-01-09 13:33:54 -08:00
Timothy J. Baek
76d37393ee
feat: gguf upload
2024-01-09 13:25:42 -08:00
Justin Hayes
940a536f81
Update README.md
...
Improved Docker installation instructions.
2024-01-09 10:28:44 -05:00
Tanvir
db51c22093
refactor(run-ollama-docker.sh): update with port variables
2024-01-09 13:46:07 +06:00
Tanvir
fd33f68f28
refactor(run.sh): update with port variables
2024-01-09 13:43:55 +06:00
Tanvir
8bb68cfcae
refactor: update run.sh
2024-01-09 13:33:20 +06:00
Tanvir
f87a1c9543
refactor: update run-ollama-docker.sh
2024-01-09 13:30:58 +06:00
Tanvir
93c73d355b
chore(docker): update ollama docker image tag to latest
2024-01-09 13:28:35 +06:00
Tanvir
0c0c5955c6
feat(docker): add option to run ollama w/o GPU support
2024-01-09 13:27:39 +06:00
Tanvir
e6e05d4641
chore: add shebang to shell scripts
2024-01-09 13:21:36 +06:00
Timothy Jaeryang Baek
d71e3c9d82
Merge pull request #431 from ollama-webui/regenerate-shortcut
...
feat: regenerate keyboard shortcut
2024-01-08 18:10:43 -08:00
Timothy J. Baek
cae1bfe737
feat: regenerate keyboard shortcut
2024-01-08 18:10:23 -08:00
Timothy Jaeryang Baek
f79ca91741
Merge pull request #428 from ollama-webui/doc-update
...
doc: roadmap update
2024-01-08 02:26:52 -08:00
Timothy J. Baek
679590f60c
doc: roadmap update
2024-01-08 02:26:28 -08:00
Timothy Jaeryang Baek
81d26b9485
Merge pull request #427 from ollama-webui/documents
...
doc: update
2024-01-08 02:12:29 -08:00
Timothy J. Baek
ad36768c42
doc: wording
2024-01-08 02:12:08 -08:00
Timothy J. Baek
594424743b
doc: update
2024-01-08 02:11:42 -08:00
Timothy Jaeryang Baek
f6a5d4b063
Merge pull request #424 from ollama-webui/documents
...
feat: full documents support
2024-01-08 02:05:19 -08:00
Timothy J. Baek
edceeba1b0
feat: help message added
2024-01-08 02:04:20 -08:00
Timothy J. Baek
b858b9b236
feat: edit doc modal styling
2024-01-08 01:57:09 -08:00
Timothy J. Baek
1ff3eb8038
feat: doc upload error handling
2024-01-08 01:54:03 -08:00
Timothy J. Baek
eddb6fc7b7
feat: documents backend integration
2024-01-08 01:49:20 -08:00
Timothy J. Baek
fe997abc6d
feat: transform filename to name
2024-01-08 01:32:55 -08:00
Timothy J. Baek
54c4e0761a
feat: documents file upload
2024-01-08 01:26:15 -08:00
Timothy J. Baek
df3d95bf2a
refac: message drag file input
2024-01-08 01:12:02 -08:00
Timothy J. Baek
cc3f84f916
feat: # to import doc
2024-01-07 23:43:32 -08:00
Timothy J. Baek
2603ac30bc
feat: documents
2024-01-07 22:14:08 -08:00
Timothy Jaeryang Baek
34e5445424
Merge pull request #423 from ollama-webui/dev
...
feat: slimmer docker image
2024-01-07 21:41:57 -08:00
Timothy J. Baek
02f364bfd9
fix: dockerfile
2024-01-07 21:22:37 -08:00