microsoft / gpt-review

MIT License
257 stars 48 forks source link

fix: update retry logic in case retry-header is missing #108

Closed dciborow closed 1 year ago

dciborow commented 1 year ago

Description

Testing

Additional context

codecov-commenter commented 1 year ago

Codecov Report

Merging #108 (556c0cc) into main (7abc088) will increase coverage by 2.81%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #108      +/-   ##
==========================================
+ Coverage   92.81%   95.62%   +2.81%     
==========================================
  Files          14       14              
  Lines         501      503       +2     
  Branches       78       78              
==========================================
+ Hits          465      481      +16     
+ Misses         27       15      -12     
+ Partials        9        7       -2     
Flag Coverage Δ
integration-3.11 94.63% <100.00%> (?)
unittests-3.10 92.24% <33.33%> (-0.17%) :arrow_down:
unittests-3.11 92.24% <33.33%> (-0.17%) :arrow_down:
unittests-3.8 92.24% <33.33%> (-0.17%) :arrow_down:
unittests-3.9 92.24% <33.33%> (-0.17%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/gpt_review/_openai.py 91.42% <100.00%> (+9.07%) :arrow_up:
src/gpt_review/constants.py 100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes