diff --git a/ai21/clients/studio/resources/beta/assistant/assistants_plans.py b/ai21/clients/studio/resources/beta/assistant/assistants_plans.py index 81d78eee..ff9a9b1e 100644 --- a/ai21/clients/studio/resources/beta/assistant/assistants_plans.py +++ b/ai21/clients/studio/resources/beta/assistant/assistants_plans.py @@ -78,7 +78,9 @@ async def create( **kwargs, ) - return self._post(path=f"/assistants/{assistant_id}/{self._module_name}", body=body, response_cls=PlanResponse) + return await self._post( + path=f"/assistants/{assistant_id}/{self._module_name}", body=body, response_cls=PlanResponse + ) async def list( self,