mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
fix: Adjust timeout handling in litellm.completion method
This commit is contained in:
parent
39855f4d2b
commit
685e63b9da
1 changed files with 1 additions and 0 deletions
|
@ -601,6 +601,7 @@ class Model(ModelSettings):
|
|||
# dump(kwargs)
|
||||
|
||||
hash_object = hashlib.sha1(key)
|
||||
# don't pass timeout here, add it to kwargs (if not already present) ai!
|
||||
res = litellm.completion(timeout=request_timeout, **kwargs)
|
||||
return hash_object, res
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue