1. 26 Jul, 2024 1 commit
    • drbh's avatar
      feat: add ruff and resolve issue (#2262) · bab02ff2
      drbh authored
      * feat: add ruff and resolve issue
      
      * fix: update client exports and adjust after rebase
      
      * fix: adjust syntax to avoid circular import
      
      * fix: adjust client ruff settings
      
      * fix: lint and refactor import check and avoid model enum as global names
      
      * fix: improve fbgemm_gpu check and lints
      
      * fix: update lints
      
      * fix: prefer comparing model enum over str
      
      * fix: adjust lints and ignore specific rules
      
      * fix: avoid unneeded quantize check
      bab02ff2
  2. 25 Apr, 2023 1 commit
  3. 17 Apr, 2023 1 commit
  4. 23 Mar, 2023 1 commit
    • dconathan's avatar
      feat(python-client): add cookies to Client constructors and requests (#132) · 78501190
      dconathan authored
      I have a use case where we need to pass cookies (for auth reasons) to an
      internally hosted server.
      
      Note: I couldn't get the client tests to pass - do you need to have an
      HF token?
      
      ```python
      FAILED tests/test_client.py::test_generate - text_generation.errors.BadRequestError: Authorization header is correct, but the token seems invalid
      ```
      78501190
  5. 07 Mar, 2023 1 commit