From 7f93e6dccb023e099c6131b69fe0e0d52e21d1d9 Mon Sep 17 00:00:00 2001 From: LucasTrg <47852577+LucasTrg@users.noreply.github.com> Date: Wed, 22 May 2024 09:46:04 +0200 Subject: [PATCH] Fixes typo --- agenta-backend/agenta_backend/services/llm_apps_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agenta-backend/agenta_backend/services/llm_apps_service.py b/agenta-backend/agenta_backend/services/llm_apps_service.py index 2accbfe509..594f5a50ca 100644 --- a/agenta-backend/agenta_backend/services/llm_apps_service.py +++ b/agenta-backend/agenta_backend/services/llm_apps_service.py @@ -274,7 +274,7 @@ async def get_parameters_from_openapi(uri: str) -> List[Dict]: """ - schema = await _get_openai_json_from_uri(uri) + schema = await _get_openapi_json_from_uri(uri) try: body_schema_name = ( @@ -304,7 +304,7 @@ async def get_parameters_from_openapi(uri: str) -> List[Dict]: return parameters -async def _get_openai_json_from_uri(uri): +async def _get_openapi_json_from_uri(uri): async with aiohttp.ClientSession() as client: resp = await client.get(uri, timeout=5) resp_text = await resp.text()