- 11 Jan, 2024 5 commits
-
-
Timothy Jaeryang Baek authored
feat: parallel model downloads
-
Timothy J. Baek authored
-
Timothy J. Baek authored
-
Timothy Jaeryang Baek authored
Fix bug: Header attributes (Host, Authorization, Origin, Referer) not sanitized.
-
goecho authored
- 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.
-
- 10 Jan, 2024 12 commits
-
-
Timothy Jaeryang Baek authored
doc: line break removed
-
Timothy J. Baek authored
-
Timothy Jaeryang Baek authored
doc: update
-
Timothy Jaeryang Baek authored
-
Timothy Jaeryang Baek authored
feat: collaborative chat
-
Timothy J. Baek authored
-
Timothy J. Baek authored
-
Timothy J. Baek authored
-
Timothy J. Baek authored
-
Timothy J. Baek authored
-
Timothy Jaeryang Baek authored
feat: rag md support
-
Timothy J. Baek authored
-
- 09 Jan, 2024 17 commits
-
-
Timothy J. Baek authored
-
Timothy Jaeryang Baek authored
feat: better rag context management
-
Timothy J. Baek authored
-
Timothy Jaeryang Baek authored
Improved Docker docs
-
Timothy Jaeryang Baek authored
fix: gguf upload
-
Timothy Jaeryang Baek authored
refactor: run.sh and run-ollama-docker.sh
-
Timothy J. Baek authored
-
Justin Hayes authored
Improved Docker installation instructions.
-
Tanvir authored
-
Tanvir authored
-
Tanvir authored
-
Tanvir authored
-
Tanvir authored
-
Tanvir authored
-
Tanvir authored
-
Timothy Jaeryang Baek authored
feat: regenerate keyboard shortcut
-
Timothy J. Baek authored
-
- 08 Jan, 2024 6 commits
-
-
Timothy Jaeryang Baek authored
doc: roadmap update
-
Timothy J. Baek authored
-
Timothy Jaeryang Baek authored
doc: update
-
Timothy J. Baek authored
-
Timothy J. Baek authored
-
Timothy Jaeryang Baek authored
feat: full documents support
-