You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mellea/backends/litellm.py
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,8 @@ def __init__(
53
53
):
54
54
"""Initialize and OpenAI compatible backend. For any additional kwargs that you need to pass the the client, pass them as a part of **kwargs.
55
55
56
+
Note: If getting `Unclosed client session`, set `export DISABLE_AIOHTTP_TRANSPORT=True` in your environment. See: https://github.com/BerriAI/litellm/issues/13251.
57
+
56
58
Args:
57
59
model_id : The LiteLLM model identifier. Make sure that all necessary credentials are in OS environment variables.
58
60
formatter: A custom formatter based on backend.If None, defaults to TemplateFormatter
0 commit comments