Is it possible to set custom timeout?
I got the following message while working with a slow local model:
Applied edit to index.html
Applied edit to style.css
Request timed out: HTTPConnectionPool(host='localhost', port=1234): Read timed out. (read timeout=600)
Retry in 0.2 seconds.
Commit fc5372c aider: diff --git a/index.js b/index.js
Is it possible to set custom values for the timeout and retry periods?
Thanks for trying aider!
Aider uses the standard openai python library, which apparently does not accept a timeout parameter.
https://github.com/openai/openai-python/issues/322
Unfortunately, it requires a lot of code changes, as it is only available on the beta version: https://github.com/openai/openai-python/discussions/631
Looks like timeout is now a possible parameter:
https://github.com/openai/openai-python/issues/322#issuecomment-1767841683
I will keep an eye on this new version of the api, thanks.