Closed x4base closed 6 months ago
And this make it more natural, as the users would not know it should actually be in nanoseconds.
Merging #92 (f958537) into main (99b47bc) will not change coverage. The diff coverage is
n/a
.
:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@ Coverage Diff @@
## main #92 +/- ##
=======================================
Coverage 28.28% 28.28%
=======================================
Files 6 6
Lines 251 251
=======================================
Hits 71 71
Misses 175 175
Partials 5 5
The docs says openai.timeout defaults to 10s, which implies the unit of the parameter should be seconds. However, if the output language is not English (e.g. zh-tw), it times out immediately. It is because the default unit for durations is nanoseconds. This commit help convert the units.