simile 0.3.1__py3-none-any.whl → 0.3.2__py3-none-any.whl

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.

Potentially problematic release.


This version of simile might be problematic. Click here for more details.

simile/resources.py CHANGED
@@ -10,6 +10,7 @@ from .models import (
10
10
  AddContextRequest,
11
11
  AddContextResponse,
12
12
  SurveySessionDetailResponse,
13
+ SurveySessionCreateResponse,
13
14
  )
14
15
 
15
16
  if TYPE_CHECKING:
@@ -307,13 +308,13 @@ class SurveySession:
307
308
  "POST",
308
309
  endpoint,
309
310
  params=params,
310
- response_model=None, # Raw response
311
+ response_model=SurveySessionCreateResponse,
311
312
  )
312
313
 
313
314
  # Create a new SurveySession instance from the response
314
315
  return SurveySession(
315
- id=uuid.UUID(response["id"]),
316
- agent_id=uuid.UUID(response["agent_id"]),
317
- status=response.get("status", "active"),
316
+ id=response.id,
317
+ agent_id=response.agent_id,
318
+ status=response.status,
318
319
  client=self._client,
319
320
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: simile
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: Package for interfacing with Simile AI agents for simulation
5
5
  Author-email: Simile AI <cqz@simile.ai>
6
6
  License: MIT
@@ -3,9 +3,9 @@ simile/auth_client.py,sha256=ICImmaA5fZX9ADbIPIUh4RED3hBZvLf3XSiaqELDAME,7923
3
3
  simile/client.py,sha256=2ZCNzT1j-wZoT0SanLcdO0FPQN6gToksLL5hkBCcc9E,12292
4
4
  simile/exceptions.py,sha256=-rJ3KZcpvNRi9JXbDpxWDSL2lU1mEJX2piwYRZvhKmg,1406
5
5
  simile/models.py,sha256=SOAqUpxkiZduDBuMooTaOjiLX_3bBolWn7ivj8A-MgY,5304
6
- simile/resources.py,sha256=vMt6UQ48OH6EXoCIeHSY2KaBTyJ5pUKToX7B90-GIXI,10425
7
- simile-0.3.1.dist-info/licenses/LICENSE,sha256=tpxX3bpODfyOQVyEM6kCMvPHFCpkjFDj0AICRqKqOFA,1066
8
- simile-0.3.1.dist-info/METADATA,sha256=a_8_7NIn0jT_QfQgnZb2U7zI9LyD-DzyNlqcDtPdpLI,1276
9
- simile-0.3.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
10
- simile-0.3.1.dist-info/top_level.txt,sha256=41lJneubAG4-ZOAs5qn7iDtDb-MDxa6DdvgBKwNX84M,7
11
- simile-0.3.1.dist-info/RECORD,,
6
+ simile/resources.py,sha256=Juoa32SlN8LdvzCFaobq7uV2itmcwbk5dM_mlc4bCVk,10420
7
+ simile-0.3.2.dist-info/licenses/LICENSE,sha256=tpxX3bpODfyOQVyEM6kCMvPHFCpkjFDj0AICRqKqOFA,1066
8
+ simile-0.3.2.dist-info/METADATA,sha256=o-m8mOiHXeCCPzB7StUcPuPWNE9v-n2RG2mubGuu_5M,1276
9
+ simile-0.3.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
10
+ simile-0.3.2.dist-info/top_level.txt,sha256=41lJneubAG4-ZOAs5qn7iDtDb-MDxa6DdvgBKwNX84M,7
11
+ simile-0.3.2.dist-info/RECORD,,
File without changes