-
Notifications
You must be signed in to change notification settings - Fork 617
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
Timout error #616
Comments
The timeout error you're encountering seems to be related to the
If these steps do not resolve the issue, you may need to look into the specific implementation details of the |
assign |
How can I increase (or turn off) timeout in the |
To increase or turn off the timeout in the config = get_litellm_retrying_config(timeout=120.0) This will configure |
Where can I set up litellm timeout in paper-qa API ? (aka. passing 'config' argument Best regards. |
You can set up the @field_validator("config")
@classmethod
def set_up_default_config(cls, value: dict[str, Any]) -> dict[str, Any]:
if "kwargs" not in value:
value["kwargs"] = get_litellm_retrying_config(
timeout=120, # 2-min timeout seemed reasonable
)
return value This method sets a default configuration for the |
Solved the problem by changing timeout in 'llms.py' API script : lines 121 - 128 :
And lines 578 - 580 :
So, issu solved... Guess there was changes between two versions. Best regards. |
Hello,
I recently updated paper-qa and now get this error :
There is a timout error with LLM i guess.
Is there a solution for this ?
Best regards @dosu.
The text was updated successfully, but these errors were encountered: