From c128b9ecf03c9221e9422fe40e5ac28eece539a5 Mon Sep 17 00:00:00 2001 From: VinShurik <107848447+VinShurik@users.noreply.github.com> Date: Wed, 19 Aug 2026 12:01:20 +0000 Subject: [PATCH] fix: application listing returns 404 (#131) Co-authored-by: Oleksandr Gubarets --- aidial_client/resources/application.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/aidial_client/resources/application.py b/aidial_client/resources/application.py index fd460a3..7631618 100644 --- a/aidial_client/resources/application.py +++ b/aidial_client/resources/application.py @@ -19,7 +19,9 @@ 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]: @@ -39,7 +41,9 @@ 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]: