trismik 1.0.0__tar.gz → 1.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: trismik
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary:
5
5
  License-File: LICENSE
6
6
  Author: Bartosz Kielczewski
@@ -14,7 +14,7 @@ dependencies = [
14
14
  "httpx (>=0.27.2,<1.0.0)",
15
15
  "nest-asyncio (>=1.6.0,<2.0.0)",
16
16
  ]
17
- version = "1.0.0"
17
+ version = "1.0.1"
18
18
 
19
19
  [project.optional-dependencies]
20
20
  examples = [
@@ -229,8 +229,8 @@ class TrismikAsyncClient:
229
229
  TrismikApiError: If API request fails.
230
230
  """
231
231
  try:
232
- url = "/runs/continue"
233
- body = {"itemChoiceId": item_choice_id, "runId": run_id}
232
+ url = f"/runs/{run_id}/continue"
233
+ body = {"itemChoiceId": item_choice_id}
234
234
  response = await self._http_client.post(url, json=body)
235
235
  response.raise_for_status()
236
236
  json = response.json()
@@ -229,8 +229,8 @@ class TrismikClient:
229
229
  TrismikApiError: If API request fails.
230
230
  """
231
231
  try:
232
- url = "/runs/continue"
233
- body = {"itemChoiceId": item_choice_id, "runId": run_id}
232
+ url = f"/runs/{run_id}/continue"
233
+ body = {"itemChoiceId": item_choice_id}
234
234
  response = self._http_client.post(url, json=body)
235
235
  response.raise_for_status()
236
236
  json = response.json()
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes