codemie-sdk-python 0.1.116__py3-none-any.whl → 0.1.121__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 codemie-sdk-python might be problematic. Click here for more details.
- codemie_sdk/models/assistant.py +44 -7
- {codemie_sdk_python-0.1.116.dist-info → codemie_sdk_python-0.1.121.dist-info}/METADATA +1 -1
- {codemie_sdk_python-0.1.116.dist-info → codemie_sdk_python-0.1.121.dist-info}/RECORD +4 -4
- {codemie_sdk_python-0.1.116.dist-info → codemie_sdk_python-0.1.121.dist-info}/WHEEL +0 -0
codemie_sdk/models/assistant.py
CHANGED
|
@@ -54,12 +54,47 @@ class Context(BaseModel):
|
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
class MCPServerConfig(BaseModel):
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
57
|
+
"""
|
|
58
|
+
Configuration for an MCP server.
|
|
59
|
+
|
|
60
|
+
Defines how to start and connect to an MCP server instance, including
|
|
61
|
+
command, arguments, environment variables, and authentication parameters.
|
|
62
|
+
|
|
63
|
+
Attributes:
|
|
64
|
+
command (str): The command used to invoke the MCP server
|
|
65
|
+
args (Optional[list[str]]): List of arguments for the server command
|
|
66
|
+
env (Optional[dict[str, Any]]): Environment variables for the server process
|
|
67
|
+
auth_token (Optional[str]): Authentication token for MCP-Connect server
|
|
68
|
+
"""
|
|
69
|
+
|
|
70
|
+
command: Optional[str] = Field(
|
|
71
|
+
None,
|
|
72
|
+
description="The command used to invoke the MCP server (e.g., 'npx', 'uvx') using a stdio transport",
|
|
73
|
+
)
|
|
74
|
+
url: Optional[str] = Field(
|
|
75
|
+
None,
|
|
76
|
+
description="The HTTP URL of a remote MCP server (use when connecting over HTTP/streamable-http).",
|
|
77
|
+
)
|
|
78
|
+
args: Optional[list[str]] = Field(
|
|
79
|
+
default_factory=list,
|
|
80
|
+
description="List of arguments to pass to the MCP server command",
|
|
81
|
+
)
|
|
82
|
+
headers: Optional[dict[str, str]] = Field(
|
|
83
|
+
default_factory=dict,
|
|
84
|
+
description="HTTP headers to include when connecting to an MCP server via `url`.",
|
|
85
|
+
)
|
|
86
|
+
env: Optional[dict[str, Any]] = Field(
|
|
87
|
+
default_factory=dict,
|
|
88
|
+
description="Environment variables to be set for the MCP server process",
|
|
89
|
+
)
|
|
90
|
+
type: Optional[str] = Field(
|
|
91
|
+
None,
|
|
92
|
+
description="Transport type. Set to 'streamable-http' to use a streamable HTTP transport; "
|
|
93
|
+
"leave null for stdio/sse command transports.",
|
|
94
|
+
)
|
|
95
|
+
auth_token: Optional[str] = Field(
|
|
96
|
+
None, description="Authentication token for the MCP-Connect server"
|
|
97
|
+
)
|
|
63
98
|
|
|
64
99
|
|
|
65
100
|
class MCPServerDetails(BaseModel):
|
|
@@ -208,7 +243,9 @@ class AssistantChatRequest(BaseModel):
|
|
|
208
243
|
)
|
|
209
244
|
text: str = Field(description="User's input")
|
|
210
245
|
content_raw: Optional[str] = Field(default="", description="Raw content input")
|
|
211
|
-
|
|
246
|
+
file_names: List[str] = Field(
|
|
247
|
+
default_factory=list, description="List of file names"
|
|
248
|
+
)
|
|
212
249
|
llm_model: Optional[str] = Field(
|
|
213
250
|
default=None, description="Specific LLM model to use"
|
|
214
251
|
)
|
|
@@ -5,7 +5,7 @@ codemie_sdk/client/__init__.py,sha256=yf6C39MmrJ6gK9ZHMhBeynKwUUYVSUTQbKxU8-4qpK
|
|
|
5
5
|
codemie_sdk/client/client.py,sha256=dVcWqd-ruWd8GOZ3_33C3LnHgUyyxIoCKxKYPYbBPq8,4373
|
|
6
6
|
codemie_sdk/exceptions.py,sha256=XoVPyognx-JmyVxLHkZPAcX1CMi1OoT1diBFJLU54so,1183
|
|
7
7
|
codemie_sdk/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
|
-
codemie_sdk/models/assistant.py,sha256=
|
|
8
|
+
codemie_sdk/models/assistant.py,sha256=w0Oc4ArB-Rf6KiBjhVMVJgbmXpd48Tdt-dGLJJ7qJHw,10369
|
|
9
9
|
codemie_sdk/models/common.py,sha256=gmZ-ps8TbaieNKr0kUKoQEjhVrHD2CAYomOpZQRatH8,1195
|
|
10
10
|
codemie_sdk/models/datasource.py,sha256=yCFB_wg9Lo2V6mzF2N3lsVBXJoyc8pyfMgMZUorn0ng,10852
|
|
11
11
|
codemie_sdk/models/integration.py,sha256=aJ2DQPhU4vcAgX8WUWrB8cbJKjqqvw2FHHjq0aiIlps,2293
|
|
@@ -25,6 +25,6 @@ codemie_sdk/services/workflow_execution.py,sha256=aGoT3rdTmh5-doAsrmBBjLEuOfvL5a
|
|
|
25
25
|
codemie_sdk/services/workflow_execution_state.py,sha256=tXoaa8yT09xgYEUNiHhVULe76TwGwVgZupMIUyyLxdo,2070
|
|
26
26
|
codemie_sdk/utils/__init__.py,sha256=BXAJJfAzO89-kMYvWWo9wSNhSbGgF3vB1In9sePFhMM,109
|
|
27
27
|
codemie_sdk/utils/http.py,sha256=sdUdMYtexkYz0dQ7ysdwJlyYaE-QHdTZekQNDJpX48s,9134
|
|
28
|
-
codemie_sdk_python-0.1.
|
|
29
|
-
codemie_sdk_python-0.1.
|
|
30
|
-
codemie_sdk_python-0.1.
|
|
28
|
+
codemie_sdk_python-0.1.121.dist-info/METADATA,sha256=8ToeHTizXg4asEunY650-fcbkIdF4_wqpv3XsNBvtxc,23716
|
|
29
|
+
codemie_sdk_python-0.1.121.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
30
|
+
codemie_sdk_python-0.1.121.dist-info/RECORD,,
|
|
File without changes
|