1. 18 Aug, 2023 2 commits
    • Michael Yang's avatar
      retry on unauthorized chunk push · 3b49315f
      Michael Yang authored
      The token printed for authorized requests has a lifetime of 1h. If an
      upload exceeds 1h, a chunk push will fail since the token is created on
      a "start upload" request.
      
      This replaces the Pipe with SectionReader which is simpler and
      implements Seek, a requirement for makeRequestWithRetry. This is
      slightly worse than using a Pipe since the progress update is directly
      tied to the chunk size instead of controlled separately.
      3b49315f
    • Michael Yang's avatar
      copy metadata from source · 7eda70f2
      Michael Yang authored
      7eda70f2
  2. 17 Aug, 2023 4 commits
  3. 16 Aug, 2023 3 commits
  4. 15 Aug, 2023 3 commits
  5. 14 Aug, 2023 6 commits
  6. 11 Aug, 2023 3 commits
  7. 10 Aug, 2023 5 commits
  8. 09 Aug, 2023 7 commits
  9. 08 Aug, 2023 6 commits
  10. 07 Aug, 2023 1 commit
    • Michael Yang's avatar
      automatically set num_keep if num_keep < 0 · 4dc5b117
      Michael Yang authored
      num_keep defines how many tokens to keep in the context when truncating
      inputs. if left to its default value of -1, the server will calculate
      num_keep to be the left of the system instructions
      4dc5b117