1. 17 Jan, 2024 6 commits
  2. 16 Jan, 2024 3 commits
  3. 14 Jan, 2024 3 commits
  4. 13 Jan, 2024 4 commits
  5. 12 Jan, 2024 1 commit
    • Ismael's avatar
      reduce image size · 141afb4c
      Ismael authored
      Added the option `--no-cache-dir` to the `pip3 install` commands on the Dockerfile to reduce the docker image resulting size to 1.89 GB from 2.27 GB.
      141afb4c
  6. 11 Jan, 2024 6 commits
    • Timothy Jaeryang Baek's avatar
      Merge pull request #407 from anuraagdjain/feat/parallel-model-downloads · ed4b3e0b
      Timothy Jaeryang Baek authored
      feat: parallel model downloads
      ed4b3e0b
    • Timothy J. Baek's avatar
      Update .gitignore · 12fbe9a4
      Timothy J. Baek authored
      12fbe9a4
    • Timothy J. Baek's avatar
      chore: conflict · bf6685d8
      Timothy J. Baek authored
      bf6685d8
    • Anuraag Jain's avatar
      feat: custom port for server · a63507c2
      Anuraag Jain authored
      a63507c2
    • Timothy Jaeryang Baek's avatar
      Merge pull request #451 from goecho/main · 5c5bde3b
      Timothy Jaeryang Baek authored
      Fix bug: Header attributes (Host, Authorization, Origin, Referer) not sanitized.
      5c5bde3b
    • goecho's avatar
      Fix bug: Header attributes (Host, Authorization, Origin, Referer) not sanitized · 74f91bc7
      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.
      74f91bc7
  7. 10 Jan, 2024 12 commits
  8. 09 Jan, 2024 5 commits