codemie-sdk-python 0.1.719__py3-none-any.whl → 0.1.720__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.
- codemie_sdk/__init__.py +2 -0
- codemie_sdk/models/llm.py +25 -0
- {codemie_sdk_python-0.1.719.dist-info → codemie_sdk_python-0.1.720.dist-info}/METADATA +9 -1
- {codemie_sdk_python-0.1.719.dist-info → codemie_sdk_python-0.1.720.dist-info}/RECORD +5 -5
- {codemie_sdk_python-0.1.719.dist-info → codemie_sdk_python-0.1.720.dist-info}/WHEEL +0 -0
codemie_sdk/__init__.py
CHANGED
|
@@ -217,6 +217,7 @@ from .models.provisioning import (
|
|
|
217
217
|
ProvisioningBudgetResult,
|
|
218
218
|
)
|
|
219
219
|
from .services.provisioning import ProvisioningService
|
|
220
|
+
from .services.export import ExportService
|
|
220
221
|
from .models.hosted_application import (
|
|
221
222
|
HostedApplication,
|
|
222
223
|
HostedApplicationCapabilities,
|
|
@@ -395,6 +396,7 @@ __all__ = [
|
|
|
395
396
|
"ProvisioningBudgetResponse",
|
|
396
397
|
"ProvisioningBudgetResult",
|
|
397
398
|
"ProvisioningService",
|
|
399
|
+
"ExportService",
|
|
398
400
|
"MarketplaceStatusFilter",
|
|
399
401
|
"MarketplaceGateResult",
|
|
400
402
|
"MarketplacePendingOrderBy",
|
codemie_sdk/models/llm.py
CHANGED
|
@@ -66,6 +66,22 @@ class LLMFeatures(BaseModel):
|
|
|
66
66
|
effort: list[EffortLevel] | None = None
|
|
67
67
|
|
|
68
68
|
|
|
69
|
+
class RouterTier(BaseModel):
|
|
70
|
+
"""Model that a router tier resolves to."""
|
|
71
|
+
|
|
72
|
+
model: str
|
|
73
|
+
label: str | None = None
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
class SwitchyardRoute(BaseModel):
|
|
77
|
+
"""Switchyard router that wraps a model."""
|
|
78
|
+
|
|
79
|
+
base_name: str
|
|
80
|
+
label: str | None = None
|
|
81
|
+
efficient: str | None = None
|
|
82
|
+
mode: str | None = None
|
|
83
|
+
|
|
84
|
+
|
|
69
85
|
class LLMModel(BaseModel):
|
|
70
86
|
"""LLM model configuration."""
|
|
71
87
|
|
|
@@ -77,10 +93,19 @@ class LLMModel(BaseModel):
|
|
|
77
93
|
enabled: bool
|
|
78
94
|
provider: LLMProvider | None = None
|
|
79
95
|
default: bool | None = None
|
|
96
|
+
default_for_categories: list[str] | None = None
|
|
80
97
|
cost: CostConfig | None = None
|
|
98
|
+
max_input_tokens: int | None = None
|
|
81
99
|
max_output_tokens: int | None = None
|
|
82
100
|
features: LLMFeatures | None = Field(default_factory=lambda: LLMFeatures())
|
|
83
101
|
is_premium: bool | None = None
|
|
102
|
+
forbidden_for_web: bool | None = None
|
|
84
103
|
is_router: bool | None = None
|
|
104
|
+
router_type: str | None = None
|
|
105
|
+
strategy: str | None = None
|
|
106
|
+
classifier_model: str | None = None
|
|
107
|
+
tiers: dict[str, RouterTier] | None = None
|
|
108
|
+
switchyard: list[SwitchyardRoute] | None = None
|
|
85
109
|
supports_tools: bool | None = None
|
|
110
|
+
supports_image_generation: bool | None = None
|
|
86
111
|
status: ModelStatusValue | None = None
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: codemie-sdk-python
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.720
|
|
4
4
|
Summary: CodeMie SDK for Python
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Author: CodeMie
|
|
@@ -1344,6 +1344,14 @@ print(f"Task Status: {task.status}")
|
|
|
1344
1344
|
print(f"Progress: {task.progress}")
|
|
1345
1345
|
```
|
|
1346
1346
|
|
|
1347
|
+
### Export Service
|
|
1348
|
+
|
|
1349
|
+
The Export service returns the raw export document (a dict) for an assistant, workflow, datasource, integration, skill or category. It raises `requests.HTTPError` on 404/403.
|
|
1350
|
+
|
|
1351
|
+
```python
|
|
1352
|
+
doc = client.export.export("assistant", "assistant-id")
|
|
1353
|
+
```
|
|
1354
|
+
|
|
1347
1355
|
### Webhook Service
|
|
1348
1356
|
|
|
1349
1357
|
The Webhook service provides access to trigger available webhooks in CodeMie.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
codemie_sdk/__init__.py,sha256=
|
|
1
|
+
codemie_sdk/__init__.py,sha256=oi8RUO78Ul4ODITBHScPXGksd4K7s0t-AE8ksFBAq9I,13048
|
|
2
2
|
codemie_sdk/auth/__init__.py,sha256=IksEj223xEZtJ-cQ0AT9L0Bs9psIJ8QNzDXrPTUQ3xQ,126
|
|
3
3
|
codemie_sdk/auth/credentials.py,sha256=hO0X3EQWZSlIm0ABhiJo4fIIndm2blB0JZWMaWvsuTE,7774
|
|
4
4
|
codemie_sdk/builders/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -25,7 +25,7 @@ codemie_sdk/models/file_operation.py,sha256=h5UBCCAbQQGm1EavF0AHn_dNE2t_Cc9be20l
|
|
|
25
25
|
codemie_sdk/models/guardrails.py,sha256=813PRnu9VEF6hoUB-lw5xG_qAZXPic38qL40AwYkSMQ,2114
|
|
26
26
|
codemie_sdk/models/hosted_application.py,sha256=zf-NfhbRp1jnnPjtMkzkaoOG08MTNPlewAhHC9r-Fhs,8241
|
|
27
27
|
codemie_sdk/models/integration.py,sha256=9drr2veHPbJ7-op6Mya4lFwKBY1AX6HfwgEA8jucTHE,4039
|
|
28
|
-
codemie_sdk/models/llm.py,sha256=
|
|
28
|
+
codemie_sdk/models/llm.py,sha256=0B7CxcL2iF2GcA7d-99FB6kIWD37fYV_sCyGXDrCcjA,2996
|
|
29
29
|
codemie_sdk/models/marketplace_management.py,sha256=T51fSW0G8RGyBxMBnT_o5D8E00UQaW_Fcq1nw-RGlZY,6396
|
|
30
30
|
codemie_sdk/models/mcp_config.py,sha256=lqHEYNWW6MhZEx2tMTryVTfq_wThnmMS7vmWxtPkbYM,3792
|
|
31
31
|
codemie_sdk/models/mermaid.py,sha256=dhRgX-itvfyrt0LUg5pbSo0CTH5PewiegqcZn3hWggU,675
|
|
@@ -87,6 +87,6 @@ codemie_sdk/services/workspace.py,sha256=eLwZ0fhi1BfOesrXaQlTdOll8q7ENP9b_jb5eyb
|
|
|
87
87
|
codemie_sdk/utils/__init__.py,sha256=EzK_UrS5KHmAnE73Hci9LaObB5omjVUhIq4svh0gfwo,137
|
|
88
88
|
codemie_sdk/utils/http.py,sha256=94PBmIuT646i4B-FHWCZ8YDKybht_glzL1Qnrk0HrRI,16615
|
|
89
89
|
codemie_sdk/utils/payload.py,sha256=XwIAdPWE3TdetV0bImx1Xkery0Hgm9dU_lAXmf2OSZI,313
|
|
90
|
-
codemie_sdk_python-0.1.
|
|
91
|
-
codemie_sdk_python-0.1.
|
|
92
|
-
codemie_sdk_python-0.1.
|
|
90
|
+
codemie_sdk_python-0.1.720.dist-info/METADATA,sha256=n1VP0d3kZaMPMiEOmoE0tX_l3V3u0YaLNi38lyLSkY0,52067
|
|
91
|
+
codemie_sdk_python-0.1.720.dist-info/WHEEL,sha256=L-WvLdSBvJWHXv5zrQxDvNRnIgoBzLUpcbuiw19KCuQ,88
|
|
92
|
+
codemie_sdk_python-0.1.720.dist-info/RECORD,,
|
|
File without changes
|