beamlit 0.0.25__py3-none-any.whl → 0.0.26rc22__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. beamlit/agents/chat.py +26 -19
  2. beamlit/agents/decorator.py +31 -7
  3. beamlit/authentication/apikey.py +2 -2
  4. beamlit/authentication/authentication.py +2 -2
  5. beamlit/authentication/credentials.py +4 -4
  6. beamlit/common/logger.py +4 -2
  7. beamlit/common/settings.py +7 -6
  8. beamlit/deploy/deploy.py +12 -10
  9. beamlit/deploy/format.py +4 -4
  10. beamlit/functions/mcp/mcp.py +125 -0
  11. beamlit/functions/remote/remote.py +103 -0
  12. beamlit/models/__init__.py +4 -8
  13. beamlit/models/agent.py +18 -0
  14. beamlit/models/agent_history_event.py +2 -2
  15. beamlit/models/api_key.py +2 -2
  16. beamlit/models/continent.py +2 -2
  17. beamlit/models/core_status.py +62 -0
  18. beamlit/models/country.py +2 -2
  19. beamlit/models/environment_metrics.py +2 -21
  20. beamlit/models/function.py +18 -0
  21. beamlit/models/increase_and_rate_metric.py +3 -37
  22. beamlit/models/integration_config.py +45 -0
  23. beamlit/models/integration_connection_secret.py +2 -2
  24. beamlit/models/metrics.py +2 -32
  25. beamlit/models/model.py +18 -0
  26. beamlit/models/model_provider.py +2 -2
  27. beamlit/models/pending_invitation.py +2 -2
  28. beamlit/models/pending_invitation_render.py +6 -6
  29. beamlit/models/pending_invitation_render_workspace.py +2 -2
  30. beamlit/models/resource_environment_metrics.py +10 -124
  31. beamlit/models/resource_metrics.py +4 -40
  32. beamlit/models/runtime.py +1 -1
  33. beamlit/models/store_agent.py +2 -2
  34. beamlit/models/store_configuration.py +4 -4
  35. beamlit/models/store_function.py +2 -2
  36. beamlit/models/workspace.py +2 -2
  37. {beamlit-0.0.25.dist-info → beamlit-0.0.26rc22.dist-info}/METADATA +2 -1
  38. {beamlit-0.0.25.dist-info → beamlit-0.0.26rc22.dist-info}/RECORD +39 -35
  39. {beamlit-0.0.25.dist-info → beamlit-0.0.26rc22.dist-info}/WHEEL +0 -0
@@ -60,15 +60,15 @@ class PendingInvitationRender:
60
60
  if email is not UNSET:
61
61
  field_dict["email"] = email
62
62
  if invited_at is not UNSET:
63
- field_dict["invited_at"] = invited_at
63
+ field_dict["invitedAt"] = invited_at
64
64
  if invited_by is not UNSET:
65
- field_dict["invited_by"] = invited_by
65
+ field_dict["invitedBy"] = invited_by
66
66
  if role is not UNSET:
67
67
  field_dict["role"] = role
68
68
  if workspace is not UNSET:
69
69
  field_dict["workspace"] = workspace
70
70
  if workspace_details is not UNSET:
71
- field_dict["workspace_details"] = workspace_details
71
+ field_dict["workspaceDetails"] = workspace_details
72
72
 
73
73
  return field_dict
74
74
 
@@ -83,9 +83,9 @@ class PendingInvitationRender:
83
83
  d = src_dict.copy()
84
84
  email = d.pop("email", UNSET)
85
85
 
86
- invited_at = d.pop("invited_at", UNSET)
86
+ invited_at = d.pop("invitedAt", UNSET)
87
87
 
88
- _invited_by = d.pop("invited_by", UNSET)
88
+ _invited_by = d.pop("invitedBy", UNSET)
89
89
  invited_by: Union[Unset, PendingInvitationRenderInvitedBy]
90
90
  if isinstance(_invited_by, Unset):
91
91
  invited_by = UNSET
@@ -101,7 +101,7 @@ class PendingInvitationRender:
101
101
  else:
102
102
  workspace = PendingInvitationRenderWorkspace.from_dict(_workspace)
103
103
 
104
- _workspace_details = d.pop("workspace_details", UNSET)
104
+ _workspace_details = d.pop("workspaceDetails", UNSET)
105
105
  workspace_details: Union[Unset, PendingInvitationWorkspaceDetails]
106
106
  if isinstance(_workspace_details, Unset):
107
107
  workspace_details = UNSET
@@ -30,7 +30,7 @@ class PendingInvitationRenderWorkspace:
30
30
  field_dict.update(self.additional_properties)
31
31
  field_dict.update({})
32
32
  if display_name is not UNSET:
33
- field_dict["display_name"] = display_name
33
+ field_dict["displayName"] = display_name
34
34
  if name is not UNSET:
35
35
  field_dict["name"] = name
36
36
 
@@ -41,7 +41,7 @@ class PendingInvitationRenderWorkspace:
41
41
  if not src_dict:
42
42
  return None
43
43
  d = src_dict.copy()
44
- display_name = d.pop("display_name", UNSET)
44
+ display_name = d.pop("displayName", UNSET)
45
45
 
46
46
  name = d.pop("name", UNSET)
47
47
 
@@ -9,15 +9,9 @@ if TYPE_CHECKING:
9
9
  from ..models.metric import Metric
10
10
  from ..models.qps import QPS
11
11
  from ..models.resource_environment_metrics_inference_per_region import ResourceEnvironmentMetricsInferencePerRegion
12
- from ..models.resource_environment_metrics_inference_per_second_per_region import (
13
- ResourceEnvironmentMetricsInferencePerSecondPerRegion,
14
- )
15
12
  from ..models.resource_environment_metrics_query_per_region_per_code import (
16
13
  ResourceEnvironmentMetricsQueryPerRegionPerCode,
17
14
  )
18
- from ..models.resource_environment_metrics_query_per_second_per_region_per_code import (
19
- ResourceEnvironmentMetricsQueryPerSecondPerRegionPerCode,
20
- )
21
15
 
22
16
 
23
17
  T = TypeVar("T", bound="ResourceEnvironmentMetrics")
@@ -31,9 +25,6 @@ class ResourceEnvironmentMetrics:
31
25
  inference_global (Union[Unset, list['Metric']]): Array of metrics
32
26
  inference_per_region (Union[Unset, ResourceEnvironmentMetricsInferencePerRegion]): Historical requests (in last
33
27
  24 hours) per location, for the model deployment
34
- inference_per_second_global (Union[Unset, list['Metric']]): Array of metrics
35
- inference_per_second_per_region (Union[Unset, ResourceEnvironmentMetricsInferencePerSecondPerRegion]):
36
- Historical requests per second (RPS) per location, for the model deployment
37
28
  query_global (Union[Unset, float]): Number of requests done on the resource for the model deployment
38
29
  query_per_code_global (Union[Unset, QPS]): Query per second per element, can be per response status code (e.g.
39
30
  200, 400) or per location
@@ -41,29 +32,14 @@ class ResourceEnvironmentMetrics:
41
32
  400) or per location
42
33
  query_per_region_per_code (Union[Unset, ResourceEnvironmentMetricsQueryPerRegionPerCode]): Number of requests
43
34
  done on the resource for the model deployment
44
- query_per_second_global (Union[Unset, float]): RPS value (in last 24 hours) for the model deployment globally
45
- query_per_second_per_code_global (Union[Unset, QPS]): Query per second per element, can be per response status
46
- code (e.g. 200, 400) or per location
47
- query_per_second_per_region (Union[Unset, QPS]): Query per second per element, can be per response status code
48
- (e.g. 200, 400) or per location
49
- query_per_second_per_region_per_code (Union[Unset, ResourceEnvironmentMetricsQueryPerSecondPerRegionPerCode]):
50
- RPS value (in last 24 hours) per response status code per location, for the model deployment
51
35
  """
52
36
 
53
37
  inference_global: Union[Unset, list["Metric"]] = UNSET
54
38
  inference_per_region: Union[Unset, "ResourceEnvironmentMetricsInferencePerRegion"] = UNSET
55
- inference_per_second_global: Union[Unset, list["Metric"]] = UNSET
56
- inference_per_second_per_region: Union[Unset, "ResourceEnvironmentMetricsInferencePerSecondPerRegion"] = UNSET
57
39
  query_global: Union[Unset, float] = UNSET
58
40
  query_per_code_global: Union[Unset, "QPS"] = UNSET
59
41
  query_per_region: Union[Unset, "QPS"] = UNSET
60
42
  query_per_region_per_code: Union[Unset, "ResourceEnvironmentMetricsQueryPerRegionPerCode"] = UNSET
61
- query_per_second_global: Union[Unset, float] = UNSET
62
- query_per_second_per_code_global: Union[Unset, "QPS"] = UNSET
63
- query_per_second_per_region: Union[Unset, "QPS"] = UNSET
64
- query_per_second_per_region_per_code: Union[Unset, "ResourceEnvironmentMetricsQueryPerSecondPerRegionPerCode"] = (
65
- UNSET
66
- )
67
43
  additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
68
44
 
69
45
  def to_dict(self) -> dict[str, Any]:
@@ -78,17 +54,6 @@ class ResourceEnvironmentMetrics:
78
54
  if not isinstance(self.inference_per_region, Unset):
79
55
  inference_per_region = self.inference_per_region.to_dict()
80
56
 
81
- inference_per_second_global: Union[Unset, list[dict[str, Any]]] = UNSET
82
- if not isinstance(self.inference_per_second_global, Unset):
83
- inference_per_second_global = []
84
- for componentsschemas_array_metric_item_data in self.inference_per_second_global:
85
- componentsschemas_array_metric_item = componentsschemas_array_metric_item_data.to_dict()
86
- inference_per_second_global.append(componentsschemas_array_metric_item)
87
-
88
- inference_per_second_per_region: Union[Unset, dict[str, Any]] = UNSET
89
- if not isinstance(self.inference_per_second_per_region, Unset):
90
- inference_per_second_per_region = self.inference_per_second_per_region.to_dict()
91
-
92
57
  query_global = self.query_global
93
58
 
94
59
  query_per_code_global: Union[Unset, dict[str, Any]] = UNSET
@@ -103,47 +68,21 @@ class ResourceEnvironmentMetrics:
103
68
  if not isinstance(self.query_per_region_per_code, Unset):
104
69
  query_per_region_per_code = self.query_per_region_per_code.to_dict()
105
70
 
106
- query_per_second_global = self.query_per_second_global
107
-
108
- query_per_second_per_code_global: Union[Unset, dict[str, Any]] = UNSET
109
- if not isinstance(self.query_per_second_per_code_global, Unset):
110
- query_per_second_per_code_global = self.query_per_second_per_code_global.to_dict()
111
-
112
- query_per_second_per_region: Union[Unset, dict[str, Any]] = UNSET
113
- if not isinstance(self.query_per_second_per_region, Unset):
114
- query_per_second_per_region = self.query_per_second_per_region.to_dict()
115
-
116
- query_per_second_per_region_per_code: Union[Unset, dict[str, Any]] = UNSET
117
- if not isinstance(self.query_per_second_per_region_per_code, Unset):
118
- query_per_second_per_region_per_code = self.query_per_second_per_region_per_code.to_dict()
119
-
120
71
  field_dict: dict[str, Any] = {}
121
72
  field_dict.update(self.additional_properties)
122
73
  field_dict.update({})
123
74
  if inference_global is not UNSET:
124
- field_dict["inference_global"] = inference_global
75
+ field_dict["inferenceGlobal"] = inference_global
125
76
  if inference_per_region is not UNSET:
126
- field_dict["inference_per_region"] = inference_per_region
127
- if inference_per_second_global is not UNSET:
128
- field_dict["inference_per_second_global"] = inference_per_second_global
129
- if inference_per_second_per_region is not UNSET:
130
- field_dict["inference_per_second_per_region"] = inference_per_second_per_region
77
+ field_dict["inferencePerRegion"] = inference_per_region
131
78
  if query_global is not UNSET:
132
79
  field_dict["query_global"] = query_global
133
80
  if query_per_code_global is not UNSET:
134
- field_dict["query_per_code_global"] = query_per_code_global
81
+ field_dict["queryPerCodeGlobal"] = query_per_code_global
135
82
  if query_per_region is not UNSET:
136
- field_dict["query_per_region"] = query_per_region
83
+ field_dict["queryPerRegion"] = query_per_region
137
84
  if query_per_region_per_code is not UNSET:
138
- field_dict["query_per_region_per_code"] = query_per_region_per_code
139
- if query_per_second_global is not UNSET:
140
- field_dict["query_per_second_global"] = query_per_second_global
141
- if query_per_second_per_code_global is not UNSET:
142
- field_dict["query_per_second_per_code_global"] = query_per_second_per_code_global
143
- if query_per_second_per_region is not UNSET:
144
- field_dict["query_per_second_per_region"] = query_per_second_per_region
145
- if query_per_second_per_region_per_code is not UNSET:
146
- field_dict["query_per_second_per_region_per_code"] = query_per_second_per_region_per_code
85
+ field_dict["queryPerRegionPerCode"] = query_per_region_per_code
147
86
 
148
87
  return field_dict
149
88
 
@@ -154,66 +93,44 @@ class ResourceEnvironmentMetrics:
154
93
  from ..models.resource_environment_metrics_inference_per_region import (
155
94
  ResourceEnvironmentMetricsInferencePerRegion,
156
95
  )
157
- from ..models.resource_environment_metrics_inference_per_second_per_region import (
158
- ResourceEnvironmentMetricsInferencePerSecondPerRegion,
159
- )
160
96
  from ..models.resource_environment_metrics_query_per_region_per_code import (
161
97
  ResourceEnvironmentMetricsQueryPerRegionPerCode,
162
98
  )
163
- from ..models.resource_environment_metrics_query_per_second_per_region_per_code import (
164
- ResourceEnvironmentMetricsQueryPerSecondPerRegionPerCode,
165
- )
166
99
 
167
100
  if not src_dict:
168
101
  return None
169
102
  d = src_dict.copy()
170
103
  inference_global = []
171
- _inference_global = d.pop("inference_global", UNSET)
104
+ _inference_global = d.pop("inferenceGlobal", UNSET)
172
105
  for componentsschemas_array_metric_item_data in _inference_global or []:
173
106
  componentsschemas_array_metric_item = Metric.from_dict(componentsschemas_array_metric_item_data)
174
107
 
175
108
  inference_global.append(componentsschemas_array_metric_item)
176
109
 
177
- _inference_per_region = d.pop("inference_per_region", UNSET)
110
+ _inference_per_region = d.pop("inferencePerRegion", UNSET)
178
111
  inference_per_region: Union[Unset, ResourceEnvironmentMetricsInferencePerRegion]
179
112
  if isinstance(_inference_per_region, Unset):
180
113
  inference_per_region = UNSET
181
114
  else:
182
115
  inference_per_region = ResourceEnvironmentMetricsInferencePerRegion.from_dict(_inference_per_region)
183
116
 
184
- inference_per_second_global = []
185
- _inference_per_second_global = d.pop("inference_per_second_global", UNSET)
186
- for componentsschemas_array_metric_item_data in _inference_per_second_global or []:
187
- componentsschemas_array_metric_item = Metric.from_dict(componentsschemas_array_metric_item_data)
188
-
189
- inference_per_second_global.append(componentsschemas_array_metric_item)
190
-
191
- _inference_per_second_per_region = d.pop("inference_per_second_per_region", UNSET)
192
- inference_per_second_per_region: Union[Unset, ResourceEnvironmentMetricsInferencePerSecondPerRegion]
193
- if isinstance(_inference_per_second_per_region, Unset):
194
- inference_per_second_per_region = UNSET
195
- else:
196
- inference_per_second_per_region = ResourceEnvironmentMetricsInferencePerSecondPerRegion.from_dict(
197
- _inference_per_second_per_region
198
- )
199
-
200
117
  query_global = d.pop("query_global", UNSET)
201
118
 
202
- _query_per_code_global = d.pop("query_per_code_global", UNSET)
119
+ _query_per_code_global = d.pop("queryPerCodeGlobal", UNSET)
203
120
  query_per_code_global: Union[Unset, QPS]
204
121
  if isinstance(_query_per_code_global, Unset):
205
122
  query_per_code_global = UNSET
206
123
  else:
207
124
  query_per_code_global = QPS.from_dict(_query_per_code_global)
208
125
 
209
- _query_per_region = d.pop("query_per_region", UNSET)
126
+ _query_per_region = d.pop("queryPerRegion", UNSET)
210
127
  query_per_region: Union[Unset, QPS]
211
128
  if isinstance(_query_per_region, Unset):
212
129
  query_per_region = UNSET
213
130
  else:
214
131
  query_per_region = QPS.from_dict(_query_per_region)
215
132
 
216
- _query_per_region_per_code = d.pop("query_per_region_per_code", UNSET)
133
+ _query_per_region_per_code = d.pop("queryPerRegionPerCode", UNSET)
217
134
  query_per_region_per_code: Union[Unset, ResourceEnvironmentMetricsQueryPerRegionPerCode]
218
135
  if isinstance(_query_per_region_per_code, Unset):
219
136
  query_per_region_per_code = UNSET
@@ -222,44 +139,13 @@ class ResourceEnvironmentMetrics:
222
139
  _query_per_region_per_code
223
140
  )
224
141
 
225
- query_per_second_global = d.pop("query_per_second_global", UNSET)
226
-
227
- _query_per_second_per_code_global = d.pop("query_per_second_per_code_global", UNSET)
228
- query_per_second_per_code_global: Union[Unset, QPS]
229
- if isinstance(_query_per_second_per_code_global, Unset):
230
- query_per_second_per_code_global = UNSET
231
- else:
232
- query_per_second_per_code_global = QPS.from_dict(_query_per_second_per_code_global)
233
-
234
- _query_per_second_per_region = d.pop("query_per_second_per_region", UNSET)
235
- query_per_second_per_region: Union[Unset, QPS]
236
- if isinstance(_query_per_second_per_region, Unset):
237
- query_per_second_per_region = UNSET
238
- else:
239
- query_per_second_per_region = QPS.from_dict(_query_per_second_per_region)
240
-
241
- _query_per_second_per_region_per_code = d.pop("query_per_second_per_region_per_code", UNSET)
242
- query_per_second_per_region_per_code: Union[Unset, ResourceEnvironmentMetricsQueryPerSecondPerRegionPerCode]
243
- if isinstance(_query_per_second_per_region_per_code, Unset):
244
- query_per_second_per_region_per_code = UNSET
245
- else:
246
- query_per_second_per_region_per_code = ResourceEnvironmentMetricsQueryPerSecondPerRegionPerCode.from_dict(
247
- _query_per_second_per_region_per_code
248
- )
249
-
250
142
  resource_environment_metrics = cls(
251
143
  inference_global=inference_global,
252
144
  inference_per_region=inference_per_region,
253
- inference_per_second_global=inference_per_second_global,
254
- inference_per_second_per_region=inference_per_second_per_region,
255
145
  query_global=query_global,
256
146
  query_per_code_global=query_per_code_global,
257
147
  query_per_region=query_per_region,
258
148
  query_per_region_per_code=query_per_region_per_code,
259
- query_per_second_global=query_per_second_global,
260
- query_per_second_per_code_global=query_per_second_per_code_global,
261
- query_per_second_per_region=query_per_second_per_region,
262
- query_per_second_per_region_per_code=query_per_second_per_region_per_code,
263
149
  )
264
150
 
265
151
  resource_environment_metrics.additional_properties = d
@@ -19,17 +19,12 @@ class ResourceMetrics:
19
19
 
20
20
  Attributes:
21
21
  inference_global (Union[Unset, list['Metric']]): Array of metrics
22
- inference_per_second_global (Union[Unset, list['Metric']]): Array of metrics
23
22
  query_per_region (Union[Unset, QPS]): Query per second per element, can be per response status code (e.g. 200,
24
23
  400) or per location
25
- query_per_second_per_region (Union[Unset, QPS]): Query per second per element, can be per response status code
26
- (e.g. 200, 400) or per location
27
24
  """
28
25
 
29
26
  inference_global: Union[Unset, list["Metric"]] = UNSET
30
- inference_per_second_global: Union[Unset, list["Metric"]] = UNSET
31
27
  query_per_region: Union[Unset, "QPS"] = UNSET
32
- query_per_second_per_region: Union[Unset, "QPS"] = UNSET
33
28
  additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
34
29
 
35
30
  def to_dict(self) -> dict[str, Any]:
@@ -40,32 +35,17 @@ class ResourceMetrics:
40
35
  componentsschemas_array_metric_item = componentsschemas_array_metric_item_data.to_dict()
41
36
  inference_global.append(componentsschemas_array_metric_item)
42
37
 
43
- inference_per_second_global: Union[Unset, list[dict[str, Any]]] = UNSET
44
- if not isinstance(self.inference_per_second_global, Unset):
45
- inference_per_second_global = []
46
- for componentsschemas_array_metric_item_data in self.inference_per_second_global:
47
- componentsschemas_array_metric_item = componentsschemas_array_metric_item_data.to_dict()
48
- inference_per_second_global.append(componentsschemas_array_metric_item)
49
-
50
38
  query_per_region: Union[Unset, dict[str, Any]] = UNSET
51
39
  if not isinstance(self.query_per_region, Unset):
52
40
  query_per_region = self.query_per_region.to_dict()
53
41
 
54
- query_per_second_per_region: Union[Unset, dict[str, Any]] = UNSET
55
- if not isinstance(self.query_per_second_per_region, Unset):
56
- query_per_second_per_region = self.query_per_second_per_region.to_dict()
57
-
58
42
  field_dict: dict[str, Any] = {}
59
43
  field_dict.update(self.additional_properties)
60
44
  field_dict.update({})
61
45
  if inference_global is not UNSET:
62
- field_dict["inference_global"] = inference_global
63
- if inference_per_second_global is not UNSET:
64
- field_dict["inference_per_second_global"] = inference_per_second_global
46
+ field_dict["inferenceGlobal"] = inference_global
65
47
  if query_per_region is not UNSET:
66
- field_dict["query_per_region"] = query_per_region
67
- if query_per_second_per_region is not UNSET:
68
- field_dict["query_per_second_per_region"] = query_per_second_per_region
48
+ field_dict["queryPerRegion"] = query_per_region
69
49
 
70
50
  return field_dict
71
51
 
@@ -78,38 +58,22 @@ class ResourceMetrics:
78
58
  return None
79
59
  d = src_dict.copy()
80
60
  inference_global = []
81
- _inference_global = d.pop("inference_global", UNSET)
61
+ _inference_global = d.pop("inferenceGlobal", UNSET)
82
62
  for componentsschemas_array_metric_item_data in _inference_global or []:
83
63
  componentsschemas_array_metric_item = Metric.from_dict(componentsschemas_array_metric_item_data)
84
64
 
85
65
  inference_global.append(componentsschemas_array_metric_item)
86
66
 
87
- inference_per_second_global = []
88
- _inference_per_second_global = d.pop("inference_per_second_global", UNSET)
89
- for componentsschemas_array_metric_item_data in _inference_per_second_global or []:
90
- componentsschemas_array_metric_item = Metric.from_dict(componentsschemas_array_metric_item_data)
91
-
92
- inference_per_second_global.append(componentsschemas_array_metric_item)
93
-
94
- _query_per_region = d.pop("query_per_region", UNSET)
67
+ _query_per_region = d.pop("queryPerRegion", UNSET)
95
68
  query_per_region: Union[Unset, QPS]
96
69
  if isinstance(_query_per_region, Unset):
97
70
  query_per_region = UNSET
98
71
  else:
99
72
  query_per_region = QPS.from_dict(_query_per_region)
100
73
 
101
- _query_per_second_per_region = d.pop("query_per_second_per_region", UNSET)
102
- query_per_second_per_region: Union[Unset, QPS]
103
- if isinstance(_query_per_second_per_region, Unset):
104
- query_per_second_per_region = UNSET
105
- else:
106
- query_per_second_per_region = QPS.from_dict(_query_per_second_per_region)
107
-
108
74
  resource_metrics = cls(
109
75
  inference_global=inference_global,
110
- inference_per_second_global=inference_per_second_global,
111
76
  query_per_region=query_per_region,
112
- query_per_second_per_region=query_per_second_per_region,
113
77
  )
114
78
 
115
79
  resource_metrics.additional_properties = d
beamlit/models/runtime.py CHANGED
@@ -24,7 +24,7 @@ class Runtime:
24
24
  Kubernetes EnvVar types
25
25
  image (Union[Unset, str]): The Docker image for the deployment
26
26
  metric_port (Union[Unset, int]): The port to serve the metrics on
27
- model (Union[Unset, str]): The slug name of the origin model. Only used if the deployment is a ModelDeployment
27
+ model (Union[Unset, str]): The slug name of the origin model. Only used if the deployment is a Deployment
28
28
  readiness_probe (Union[Unset, RuntimeReadinessProbe]): The readiness probe. Should be a Kubernetes Probe type
29
29
  resources (Union[Unset, RuntimeResources]): The resources for the deployment. Should be a Kubernetes
30
30
  ResourceRequirements type
@@ -86,7 +86,7 @@ class StoreAgent:
86
86
  if description is not UNSET:
87
87
  field_dict["description"] = description
88
88
  if display_name is not UNSET:
89
- field_dict["display_name"] = display_name
89
+ field_dict["displayName"] = display_name
90
90
  if image is not UNSET:
91
91
  field_dict["image"] = image
92
92
  if labels is not UNSET:
@@ -121,7 +121,7 @@ class StoreAgent:
121
121
 
122
122
  description = d.pop("description", UNSET)
123
123
 
124
- display_name = d.pop("display_name", UNSET)
124
+ display_name = d.pop("displayName", UNSET)
125
125
 
126
126
  image = d.pop("image", UNSET)
127
127
 
@@ -69,11 +69,11 @@ class StoreConfiguration:
69
69
  field_dict.update(self.additional_properties)
70
70
  field_dict.update({})
71
71
  if available_models is not UNSET:
72
- field_dict["available_models"] = available_models
72
+ field_dict["availableModels"] = available_models
73
73
  if description is not UNSET:
74
74
  field_dict["description"] = description
75
75
  if display_name is not UNSET:
76
- field_dict["display_name"] = display_name
76
+ field_dict["displayName"] = display_name
77
77
  if if_ is not UNSET:
78
78
  field_dict["if"] = if_
79
79
  if name is not UNSET:
@@ -96,11 +96,11 @@ class StoreConfiguration:
96
96
  if not src_dict:
97
97
  return None
98
98
  d = src_dict.copy()
99
- available_models = cast(list[str], d.pop("available_models", UNSET))
99
+ available_models = cast(list[str], d.pop("availableModels", UNSET))
100
100
 
101
101
  description = d.pop("description", UNSET)
102
102
 
103
- display_name = d.pop("display_name", UNSET)
103
+ display_name = d.pop("displayName", UNSET)
104
104
 
105
105
  if_ = d.pop("if", UNSET)
106
106
 
@@ -106,7 +106,7 @@ class StoreFunction:
106
106
  if description is not UNSET:
107
107
  field_dict["description"] = description
108
108
  if display_name is not UNSET:
109
- field_dict["display_name"] = display_name
109
+ field_dict["displayName"] = display_name
110
110
  if image is not UNSET:
111
111
  field_dict["image"] = image
112
112
  if kit is not UNSET:
@@ -147,7 +147,7 @@ class StoreFunction:
147
147
 
148
148
  description = d.pop("description", UNSET)
149
149
 
150
- display_name = d.pop("display_name", UNSET)
150
+ display_name = d.pop("displayName", UNSET)
151
151
 
152
152
  image = d.pop("image", UNSET)
153
153
 
@@ -68,7 +68,7 @@ class Workspace:
68
68
  if updated_by is not UNSET:
69
69
  field_dict["updatedBy"] = updated_by
70
70
  if display_name is not UNSET:
71
- field_dict["display_name"] = display_name
71
+ field_dict["displayName"] = display_name
72
72
  if labels is not UNSET:
73
73
  field_dict["labels"] = labels
74
74
  if name is not UNSET:
@@ -93,7 +93,7 @@ class Workspace:
93
93
 
94
94
  updated_by = d.pop("updatedBy", UNSET)
95
95
 
96
- display_name = d.pop("display_name", UNSET)
96
+ display_name = d.pop("displayName", UNSET)
97
97
 
98
98
  _labels = d.pop("labels", UNSET)
99
99
  labels: Union[Unset, WorkspaceLabels]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: beamlit
3
- Version: 0.0.25
3
+ Version: 0.0.26rc22
4
4
  Summary: Add your description here
5
5
  Author-email: cploujoux <ch.ploujoux@gmail.com>
6
6
  Requires-Python: >=3.12
@@ -12,6 +12,7 @@ Requires-Dist: langchain-community<0.4.0,>=0.3.3
12
12
  Requires-Dist: langchain-core<0.4.0,>=0.3.13
13
13
  Requires-Dist: langchain-openai<0.3.0,>=0.2.4
14
14
  Requires-Dist: langgraph<0.3.0,>=0.2.40
15
+ Requires-Dist: mcp>=1.1.2
15
16
  Requires-Dist: pydantic-settings<2.7.0,>=2.6.1
16
17
  Requires-Dist: pydantic<2.11.0,>=2.10.3
17
18
  Requires-Dist: python-dateutil>=2.8.0