Skip to content

Commit

Permalink
For autogenerated Router kwargs, specifying timeout of 60-sec (#501)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbraza authored Sep 27, 2024
1 parent 0d75e2c commit e39056b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paperqa/llms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit e39056b

Please sign in to comment.