codemie-sdk-python 0.1.210__py3-none-any.whl → 0.1.211__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.
@@ -1,5 +1,6 @@
1
1
  """Assistant service implementation."""
2
2
 
3
+ import inspect
3
4
  import json
4
5
  from pathlib import Path
5
6
  from typing import List, Union, Optional, Dict, Any, Literal
@@ -184,8 +185,10 @@ class AssistantService:
184
185
  Chat response or streaming response
185
186
  """
186
187
  pydantic_schema = None
187
- if request.output_schema is not None and issubclass(
188
- request.output_schema, BaseModel
188
+ if (
189
+ request.output_schema is not None
190
+ and inspect.isclass(request.output_schema)
191
+ and issubclass(request.output_schema, BaseModel)
189
192
  ):
190
193
  pydantic_schema = deepcopy(request.output_schema)
191
194
  request.output_schema = request.output_schema.model_json_schema()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: codemie-sdk-python
3
- Version: 0.1.210
3
+ Version: 0.1.211
4
4
  Summary: CodeMie SDK for Python
5
5
  Author: Vadym Vlasenko
6
6
  Author-email: vadym_vlasenko@epam.com
@@ -18,7 +18,7 @@ codemie_sdk/models/workflow.py,sha256=qfk0rBJnFUMpcEDq_E5GB3hzYKbe_bb2NYJlLZJwUE
18
18
  codemie_sdk/models/workflow_execution_payload.py,sha256=iEGkdw1jm09aniZiXswbQeLtoiUYIxhc3vsBvZL00JE,515
19
19
  codemie_sdk/models/workflow_state.py,sha256=okEMKzkiBU3GHs9VNBoiEMOnOeZRMXGYtpL0NYSg-FY,1374
20
20
  codemie_sdk/models/workflow_thoughts.py,sha256=CjHaIPgca9kQAjpoq8IpX4MuDeql1SvaoKS5RmyU2SE,616
21
- codemie_sdk/services/assistant.py,sha256=H1s0l4yZLTRH1vIkbUxgqe_jY7fytC7CtYQauMkLrPY,7948
21
+ codemie_sdk/services/assistant.py,sha256=nyAcd67Cxne88NmIkC40NiEb-b2BXMLEnp6TR7i5wnc,8032
22
22
  codemie_sdk/services/conversation.py,sha256=Ss0mkGaBi4u8-YKzhRYUJOfoFqJueDp9JurI5DRCGT8,2566
23
23
  codemie_sdk/services/datasource.py,sha256=d8LImpireGOnXKvj4h8iafq_ZQMn177_GGLLiE5g7wU,7405
24
24
  codemie_sdk/services/files.py,sha256=MKLJEv208yUkeRO2JfC4XWPeJ4TKg5ZGaxaBU5GXzoM,1955
@@ -32,6 +32,6 @@ codemie_sdk/services/workflow_execution.py,sha256=P57fz3fsUnKLg8qUYszMxCn_ykovh2
32
32
  codemie_sdk/services/workflow_execution_state.py,sha256=tXoaa8yT09xgYEUNiHhVULe76TwGwVgZupMIUyyLxdo,2070
33
33
  codemie_sdk/utils/__init__.py,sha256=BXAJJfAzO89-kMYvWWo9wSNhSbGgF3vB1In9sePFhMM,109
34
34
  codemie_sdk/utils/http.py,sha256=1eNjCoVh_hq0TIsDSlsXZWmqODznIXvPpRrIn-KeftY,9759
35
- codemie_sdk_python-0.1.210.dist-info/METADATA,sha256=n2T62DnYXIhKIcgqp0NEYNyCPDa9MSZaQsIa9nfTL6I,24875
36
- codemie_sdk_python-0.1.210.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
37
- codemie_sdk_python-0.1.210.dist-info/RECORD,,
35
+ codemie_sdk_python-0.1.211.dist-info/METADATA,sha256=4Ou9WaNi6IlAjqtC1JdbERh5gNB2Dx0RUmUVbiAAHRI,24875
36
+ codemie_sdk_python-0.1.211.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
37
+ codemie_sdk_python-0.1.211.dist-info/RECORD,,