From 5acb786a51f96b851931888d4344c893cba2c0c6 Mon Sep 17 00:00:00 2001 From: Aleksei Korota Date: Wed, 19 Aug 2026 14:20:23 +0300 Subject: [PATCH] fix: update applications endpoint URL to remove trailing slash --- aidial_client/resources/application.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aidial_client/resources/application.py b/aidial_client/resources/application.py index 9146934..9a85377 100644 --- a/aidial_client/resources/application.py +++ b/aidial_client/resources/application.py @@ -20,7 +20,7 @@ def get(self, app_id: str) -> ApplicationType: def _list_raw(self) -> ApplicationsResponse: return self.http_client.request( cast_to=ApplicationsResponse, - options=FinalRequestOptions(method="GET", url=APPLICATION_PREFIX), + options=FinalRequestOptions(method="GET", url="openai/applications"), ) def list(self) -> List[ApplicationType]: @@ -40,7 +40,7 @@ async def get(self, app_id: str) -> ApplicationType: async def _list_raw(self) -> ApplicationsResponse: return await self.http_client.request( cast_to=ApplicationsResponse, - options=FinalRequestOptions(method="GET", url=APPLICATION_PREFIX), + options=FinalRequestOptions(method="GET", url="openai/applications"), ) async def list(self) -> List[ApplicationType]: