Skip to content

Commit 8b8e726

Browse files
committed
mito-ai: cleanup
1 parent 7cc6148 commit 8b8e726

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mito-ai/mito_ai/utils/open_ai_utils.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,7 @@ async def get_ai_completion_from_mito_server(
110110
"Content-Type": "application/json",
111111
}
112112

113-
114-
113+
http_client = None
115114
if is_running_test():
116115
# If we are running in a test environment, setting the request_timeout fails for some reason.
117116
http_client = AsyncHTTPClient(defaults=dict(user_agent="Mito-AI client"))

0 commit comments

Comments
 (0)