-
Notifications
You must be signed in to change notification settings - Fork 15
Adjust network call timeout behaviors #614
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
dharmab
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs some human editing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These tests are not valuable and should be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hate this package comment, needs human rewrite.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Too many comments, needs human rewrite.
aaf1c5b to
5ed8021
Compare
| // OpenAIHTTPTimeout is the timeout for HTTP requests to the OpenAI API. | ||
| // Audio transcription can be slow for large files, so this is set higher | ||
| // than typical HTTP timeouts. | ||
| OpenAIHTTPTimeout = 60 * time.Second |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should remove this and just use the standard 30s
AI assisted patch, needs strict review and testing