diff --git a/paperqa/llms.py b/paperqa/llms.py index 6c9b7401..50cf8eee 100644 --- a/paperqa/llms.py +++ b/paperqa/llms.py @@ -391,7 +391,7 @@ def maybe_set_config_attribute(cls, data: dict[str, Any]) -> dict[str, Any]: ), } ], - "router_kwargs": {"num_retries": 3, "retry_after": 5}, + "router_kwargs": {"num_retries": 3, "retry_after": 5, "timeout": 60}, } # we only support one "model name" for now, here we validate model_list = data["config"]["model_list"]