letta-client 0.1.254__py3-none-any.whl → 0.1.256__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 letta-client might be problematic. Click here for more details.

letta_client/__init__.py CHANGED
@@ -201,7 +201,6 @@ from .types import (
201
201
  PipRequirement,
202
202
  Provider,
203
203
  ProviderCategory,
204
- ProviderCheck,
205
204
  ProviderTrace,
206
205
  ProviderType,
207
206
  ReasoningContent,
@@ -609,7 +608,6 @@ __all__ = [
609
608
  "ProjectsListResponseProjectsItem",
610
609
  "Provider",
611
610
  "ProviderCategory",
612
- "ProviderCheck",
613
611
  "ProviderTrace",
614
612
  "ProviderType",
615
613
  "ReasoningContent",
@@ -35,6 +35,7 @@ class TemplatesClient:
35
35
  return_agent_state: typing.Optional[TemplatesCreateVersionRequestReturnAgentState] = None,
36
36
  migrate_deployed_agents: typing.Optional[bool] = OMIT,
37
37
  message: typing.Optional[str] = OMIT,
38
+ preserve_tool_variables: typing.Optional[bool] = OMIT,
38
39
  request_options: typing.Optional[RequestOptions] = None,
39
40
  ) -> None:
40
41
  """
@@ -53,6 +54,9 @@ class TemplatesClient:
53
54
 
54
55
  message : typing.Optional[str]
55
56
 
57
+ preserve_tool_variables : typing.Optional[bool]
58
+ If true, preserves the existing agent's tool environment variables when migrating deployed agents
59
+
56
60
  request_options : typing.Optional[RequestOptions]
57
61
  Request-specific configuration.
58
62
 
@@ -77,6 +81,7 @@ class TemplatesClient:
77
81
  return_agent_state=return_agent_state,
78
82
  migrate_deployed_agents=migrate_deployed_agents,
79
83
  message=message,
84
+ preserve_tool_variables=preserve_tool_variables,
80
85
  request_options=request_options,
81
86
  )
82
87
  return _response.data
@@ -88,6 +93,7 @@ class TemplatesClient:
88
93
  to_template: str,
89
94
  preserve_core_memories: bool,
90
95
  variables: typing.Optional[typing.Dict[str, str]] = OMIT,
96
+ preserve_tool_variables: typing.Optional[bool] = OMIT,
91
97
  request_options: typing.Optional[RequestOptions] = None,
92
98
  ) -> TemplatesMigrateResponse:
93
99
  """
@@ -106,6 +112,9 @@ class TemplatesClient:
106
112
  variables : typing.Optional[typing.Dict[str, str]]
107
113
  If you chose to not preserve core memories, you should provide the new variables for the core memories
108
114
 
115
+ preserve_tool_variables : typing.Optional[bool]
116
+ If true, preserves the existing agent's tool environment variables instead of using the template's variables
117
+
109
118
  request_options : typing.Optional[RequestOptions]
110
119
  Request-specific configuration.
111
120
 
@@ -133,6 +142,7 @@ class TemplatesClient:
133
142
  to_template=to_template,
134
143
  preserve_core_memories=preserve_core_memories,
135
144
  variables=variables,
145
+ preserve_tool_variables=preserve_tool_variables,
136
146
  request_options=request_options,
137
147
  )
138
148
  return _response.data
@@ -201,6 +211,7 @@ class AsyncTemplatesClient:
201
211
  return_agent_state: typing.Optional[TemplatesCreateVersionRequestReturnAgentState] = None,
202
212
  migrate_deployed_agents: typing.Optional[bool] = OMIT,
203
213
  message: typing.Optional[str] = OMIT,
214
+ preserve_tool_variables: typing.Optional[bool] = OMIT,
204
215
  request_options: typing.Optional[RequestOptions] = None,
205
216
  ) -> None:
206
217
  """
@@ -219,6 +230,9 @@ class AsyncTemplatesClient:
219
230
 
220
231
  message : typing.Optional[str]
221
232
 
233
+ preserve_tool_variables : typing.Optional[bool]
234
+ If true, preserves the existing agent's tool environment variables when migrating deployed agents
235
+
222
236
  request_options : typing.Optional[RequestOptions]
223
237
  Request-specific configuration.
224
238
 
@@ -251,6 +265,7 @@ class AsyncTemplatesClient:
251
265
  return_agent_state=return_agent_state,
252
266
  migrate_deployed_agents=migrate_deployed_agents,
253
267
  message=message,
268
+ preserve_tool_variables=preserve_tool_variables,
254
269
  request_options=request_options,
255
270
  )
256
271
  return _response.data
@@ -262,6 +277,7 @@ class AsyncTemplatesClient:
262
277
  to_template: str,
263
278
  preserve_core_memories: bool,
264
279
  variables: typing.Optional[typing.Dict[str, str]] = OMIT,
280
+ preserve_tool_variables: typing.Optional[bool] = OMIT,
265
281
  request_options: typing.Optional[RequestOptions] = None,
266
282
  ) -> TemplatesMigrateResponse:
267
283
  """
@@ -280,6 +296,9 @@ class AsyncTemplatesClient:
280
296
  variables : typing.Optional[typing.Dict[str, str]]
281
297
  If you chose to not preserve core memories, you should provide the new variables for the core memories
282
298
 
299
+ preserve_tool_variables : typing.Optional[bool]
300
+ If true, preserves the existing agent's tool environment variables instead of using the template's variables
301
+
283
302
  request_options : typing.Optional[RequestOptions]
284
303
  Request-specific configuration.
285
304
 
@@ -315,6 +334,7 @@ class AsyncTemplatesClient:
315
334
  to_template=to_template,
316
335
  preserve_core_memories=preserve_core_memories,
317
336
  variables=variables,
337
+ preserve_tool_variables=preserve_tool_variables,
318
338
  request_options=request_options,
319
339
  )
320
340
  return _response.data
@@ -32,6 +32,7 @@ class RawTemplatesClient:
32
32
  return_agent_state: typing.Optional[TemplatesCreateVersionRequestReturnAgentState] = None,
33
33
  migrate_deployed_agents: typing.Optional[bool] = OMIT,
34
34
  message: typing.Optional[str] = OMIT,
35
+ preserve_tool_variables: typing.Optional[bool] = OMIT,
35
36
  request_options: typing.Optional[RequestOptions] = None,
36
37
  ) -> HttpResponse[None]:
37
38
  """
@@ -50,6 +51,9 @@ class RawTemplatesClient:
50
51
 
51
52
  message : typing.Optional[str]
52
53
 
54
+ preserve_tool_variables : typing.Optional[bool]
55
+ If true, preserves the existing agent's tool environment variables when migrating deployed agents
56
+
53
57
  request_options : typing.Optional[RequestOptions]
54
58
  Request-specific configuration.
55
59
 
@@ -66,6 +70,7 @@ class RawTemplatesClient:
66
70
  json={
67
71
  "migrate_deployed_agents": migrate_deployed_agents,
68
72
  "message": message,
73
+ "preserve_tool_variables": preserve_tool_variables,
69
74
  },
70
75
  headers={
71
76
  "content-type": "application/json",
@@ -110,6 +115,7 @@ class RawTemplatesClient:
110
115
  to_template: str,
111
116
  preserve_core_memories: bool,
112
117
  variables: typing.Optional[typing.Dict[str, str]] = OMIT,
118
+ preserve_tool_variables: typing.Optional[bool] = OMIT,
113
119
  request_options: typing.Optional[RequestOptions] = None,
114
120
  ) -> HttpResponse[TemplatesMigrateResponse]:
115
121
  """
@@ -128,6 +134,9 @@ class RawTemplatesClient:
128
134
  variables : typing.Optional[typing.Dict[str, str]]
129
135
  If you chose to not preserve core memories, you should provide the new variables for the core memories
130
136
 
137
+ preserve_tool_variables : typing.Optional[bool]
138
+ If true, preserves the existing agent's tool environment variables instead of using the template's variables
139
+
131
140
  request_options : typing.Optional[RequestOptions]
132
141
  Request-specific configuration.
133
142
 
@@ -143,6 +152,7 @@ class RawTemplatesClient:
143
152
  "to_template": to_template,
144
153
  "variables": variables,
145
154
  "preserve_core_memories": preserve_core_memories,
155
+ "preserve_tool_variables": preserve_tool_variables,
146
156
  },
147
157
  headers={
148
158
  "content-type": "application/json",
@@ -274,6 +284,7 @@ class AsyncRawTemplatesClient:
274
284
  return_agent_state: typing.Optional[TemplatesCreateVersionRequestReturnAgentState] = None,
275
285
  migrate_deployed_agents: typing.Optional[bool] = OMIT,
276
286
  message: typing.Optional[str] = OMIT,
287
+ preserve_tool_variables: typing.Optional[bool] = OMIT,
277
288
  request_options: typing.Optional[RequestOptions] = None,
278
289
  ) -> AsyncHttpResponse[None]:
279
290
  """
@@ -292,6 +303,9 @@ class AsyncRawTemplatesClient:
292
303
 
293
304
  message : typing.Optional[str]
294
305
 
306
+ preserve_tool_variables : typing.Optional[bool]
307
+ If true, preserves the existing agent's tool environment variables when migrating deployed agents
308
+
295
309
  request_options : typing.Optional[RequestOptions]
296
310
  Request-specific configuration.
297
311
 
@@ -308,6 +322,7 @@ class AsyncRawTemplatesClient:
308
322
  json={
309
323
  "migrate_deployed_agents": migrate_deployed_agents,
310
324
  "message": message,
325
+ "preserve_tool_variables": preserve_tool_variables,
311
326
  },
312
327
  headers={
313
328
  "content-type": "application/json",
@@ -352,6 +367,7 @@ class AsyncRawTemplatesClient:
352
367
  to_template: str,
353
368
  preserve_core_memories: bool,
354
369
  variables: typing.Optional[typing.Dict[str, str]] = OMIT,
370
+ preserve_tool_variables: typing.Optional[bool] = OMIT,
355
371
  request_options: typing.Optional[RequestOptions] = None,
356
372
  ) -> AsyncHttpResponse[TemplatesMigrateResponse]:
357
373
  """
@@ -370,6 +386,9 @@ class AsyncRawTemplatesClient:
370
386
  variables : typing.Optional[typing.Dict[str, str]]
371
387
  If you chose to not preserve core memories, you should provide the new variables for the core memories
372
388
 
389
+ preserve_tool_variables : typing.Optional[bool]
390
+ If true, preserves the existing agent's tool environment variables instead of using the template's variables
391
+
373
392
  request_options : typing.Optional[RequestOptions]
374
393
  Request-specific configuration.
375
394
 
@@ -385,6 +404,7 @@ class AsyncRawTemplatesClient:
385
404
  "to_template": to_template,
386
405
  "variables": variables,
387
406
  "preserve_core_memories": preserve_core_memories,
407
+ "preserve_tool_variables": preserve_tool_variables,
388
408
  },
389
409
  headers={
390
410
  "content-type": "application/json",
@@ -24,10 +24,10 @@ class BaseClientWrapper:
24
24
 
25
25
  def get_headers(self) -> typing.Dict[str, str]:
26
26
  headers: typing.Dict[str, str] = {
27
- "User-Agent": "letta-client/0.1.254",
27
+ "User-Agent": "letta-client/0.1.256",
28
28
  "X-Fern-Language": "Python",
29
29
  "X-Fern-SDK-Name": "letta-client",
30
- "X-Fern-SDK-Version": "0.1.254",
30
+ "X-Fern-SDK-Version": "0.1.256",
31
31
  **(self.get_custom_headers() or {}),
32
32
  }
33
33
  if self._project is not None:
@@ -242,7 +242,7 @@ class ProvidersClient:
242
242
  )
243
243
  return _response.data
244
244
 
245
- def check(self, *, request_options: typing.Optional[RequestOptions] = None) -> typing.Optional[typing.Any]:
245
+ def check(self, *, request_options: typing.Optional[RequestOptions] = None) -> None:
246
246
  """
247
247
  Parameters
248
248
  ----------
@@ -251,8 +251,7 @@ class ProvidersClient:
251
251
 
252
252
  Returns
253
253
  -------
254
- typing.Optional[typing.Any]
255
- Successful Response
254
+ None
256
255
 
257
256
  Examples
258
257
  --------
@@ -267,6 +266,70 @@ class ProvidersClient:
267
266
  _response = self._raw_client.check(request_options=request_options)
268
267
  return _response.data
269
268
 
269
+ def check_provider(
270
+ self,
271
+ *,
272
+ provider_type: ProviderType,
273
+ api_key: str,
274
+ access_key: typing.Optional[str] = OMIT,
275
+ region: typing.Optional[str] = OMIT,
276
+ base_url: typing.Optional[str] = OMIT,
277
+ api_version: typing.Optional[str] = OMIT,
278
+ request_options: typing.Optional[RequestOptions] = None,
279
+ ) -> typing.Optional[typing.Any]:
280
+ """
281
+ Parameters
282
+ ----------
283
+ provider_type : ProviderType
284
+ The type of the provider.
285
+
286
+ api_key : str
287
+ API key or secret key used for requests to the provider.
288
+
289
+ access_key : typing.Optional[str]
290
+ Access key used for requests to the provider.
291
+
292
+ region : typing.Optional[str]
293
+ Region used for requests to the provider.
294
+
295
+ base_url : typing.Optional[str]
296
+ Base URL used for requests to the provider.
297
+
298
+ api_version : typing.Optional[str]
299
+ API version used for requests to the provider.
300
+
301
+ request_options : typing.Optional[RequestOptions]
302
+ Request-specific configuration.
303
+
304
+ Returns
305
+ -------
306
+ typing.Optional[typing.Any]
307
+ Successful Response
308
+
309
+ Examples
310
+ --------
311
+ from letta_client import Letta
312
+
313
+ client = Letta(
314
+ project="YOUR_PROJECT",
315
+ token="YOUR_TOKEN",
316
+ )
317
+ client.providers.check_provider(
318
+ provider_type="anthropic",
319
+ api_key="api_key",
320
+ )
321
+ """
322
+ _response = self._raw_client.check_provider(
323
+ provider_type=provider_type,
324
+ api_key=api_key,
325
+ access_key=access_key,
326
+ region=region,
327
+ base_url=base_url,
328
+ api_version=api_version,
329
+ request_options=request_options,
330
+ )
331
+ return _response.data
332
+
270
333
 
271
334
  class AsyncProvidersClient:
272
335
  def __init__(self, *, client_wrapper: AsyncClientWrapper):
@@ -530,7 +593,7 @@ class AsyncProvidersClient:
530
593
  )
531
594
  return _response.data
532
595
 
533
- async def check(self, *, request_options: typing.Optional[RequestOptions] = None) -> typing.Optional[typing.Any]:
596
+ async def check(self, *, request_options: typing.Optional[RequestOptions] = None) -> None:
534
597
  """
535
598
  Parameters
536
599
  ----------
@@ -539,8 +602,7 @@ class AsyncProvidersClient:
539
602
 
540
603
  Returns
541
604
  -------
542
- typing.Optional[typing.Any]
543
- Successful Response
605
+ None
544
606
 
545
607
  Examples
546
608
  --------
@@ -562,3 +624,75 @@ class AsyncProvidersClient:
562
624
  """
563
625
  _response = await self._raw_client.check(request_options=request_options)
564
626
  return _response.data
627
+
628
+ async def check_provider(
629
+ self,
630
+ *,
631
+ provider_type: ProviderType,
632
+ api_key: str,
633
+ access_key: typing.Optional[str] = OMIT,
634
+ region: typing.Optional[str] = OMIT,
635
+ base_url: typing.Optional[str] = OMIT,
636
+ api_version: typing.Optional[str] = OMIT,
637
+ request_options: typing.Optional[RequestOptions] = None,
638
+ ) -> typing.Optional[typing.Any]:
639
+ """
640
+ Parameters
641
+ ----------
642
+ provider_type : ProviderType
643
+ The type of the provider.
644
+
645
+ api_key : str
646
+ API key or secret key used for requests to the provider.
647
+
648
+ access_key : typing.Optional[str]
649
+ Access key used for requests to the provider.
650
+
651
+ region : typing.Optional[str]
652
+ Region used for requests to the provider.
653
+
654
+ base_url : typing.Optional[str]
655
+ Base URL used for requests to the provider.
656
+
657
+ api_version : typing.Optional[str]
658
+ API version used for requests to the provider.
659
+
660
+ request_options : typing.Optional[RequestOptions]
661
+ Request-specific configuration.
662
+
663
+ Returns
664
+ -------
665
+ typing.Optional[typing.Any]
666
+ Successful Response
667
+
668
+ Examples
669
+ --------
670
+ import asyncio
671
+
672
+ from letta_client import AsyncLetta
673
+
674
+ client = AsyncLetta(
675
+ project="YOUR_PROJECT",
676
+ token="YOUR_TOKEN",
677
+ )
678
+
679
+
680
+ async def main() -> None:
681
+ await client.providers.check_provider(
682
+ provider_type="anthropic",
683
+ api_key="api_key",
684
+ )
685
+
686
+
687
+ asyncio.run(main())
688
+ """
689
+ _response = await self._raw_client.check_provider(
690
+ provider_type=provider_type,
691
+ api_key=api_key,
692
+ access_key=access_key,
693
+ region=region,
694
+ base_url=base_url,
695
+ api_version=api_version,
696
+ request_options=request_options,
697
+ )
698
+ return _response.data
@@ -313,12 +313,62 @@ class RawProvidersClient:
313
313
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
314
314
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
315
315
 
316
- def check(
317
- self, *, request_options: typing.Optional[RequestOptions] = None
316
+ def check(self, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[None]:
317
+ """
318
+ Parameters
319
+ ----------
320
+ request_options : typing.Optional[RequestOptions]
321
+ Request-specific configuration.
322
+
323
+ Returns
324
+ -------
325
+ HttpResponse[None]
326
+ """
327
+ _response = self._client_wrapper.httpx_client.request(
328
+ "v1/providers/check",
329
+ method="GET",
330
+ request_options=request_options,
331
+ )
332
+ try:
333
+ if 200 <= _response.status_code < 300:
334
+ return HttpResponse(response=_response, data=None)
335
+ _response_json = _response.json()
336
+ except JSONDecodeError:
337
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
338
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
339
+
340
+ def check_provider(
341
+ self,
342
+ *,
343
+ provider_type: ProviderType,
344
+ api_key: str,
345
+ access_key: typing.Optional[str] = OMIT,
346
+ region: typing.Optional[str] = OMIT,
347
+ base_url: typing.Optional[str] = OMIT,
348
+ api_version: typing.Optional[str] = OMIT,
349
+ request_options: typing.Optional[RequestOptions] = None,
318
350
  ) -> HttpResponse[typing.Optional[typing.Any]]:
319
351
  """
320
352
  Parameters
321
353
  ----------
354
+ provider_type : ProviderType
355
+ The type of the provider.
356
+
357
+ api_key : str
358
+ API key or secret key used for requests to the provider.
359
+
360
+ access_key : typing.Optional[str]
361
+ Access key used for requests to the provider.
362
+
363
+ region : typing.Optional[str]
364
+ Region used for requests to the provider.
365
+
366
+ base_url : typing.Optional[str]
367
+ Base URL used for requests to the provider.
368
+
369
+ api_version : typing.Optional[str]
370
+ API version used for requests to the provider.
371
+
322
372
  request_options : typing.Optional[RequestOptions]
323
373
  Request-specific configuration.
324
374
 
@@ -329,8 +379,20 @@ class RawProvidersClient:
329
379
  """
330
380
  _response = self._client_wrapper.httpx_client.request(
331
381
  "v1/providers/check",
332
- method="GET",
382
+ method="POST",
383
+ json={
384
+ "provider_type": provider_type,
385
+ "api_key": api_key,
386
+ "access_key": access_key,
387
+ "region": region,
388
+ "base_url": base_url,
389
+ "api_version": api_version,
390
+ },
391
+ headers={
392
+ "content-type": "application/json",
393
+ },
333
394
  request_options=request_options,
395
+ omit=OMIT,
334
396
  )
335
397
  try:
336
398
  if _response is None or not _response.text.strip():
@@ -656,12 +718,62 @@ class AsyncRawProvidersClient:
656
718
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
657
719
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
658
720
 
659
- async def check(
660
- self, *, request_options: typing.Optional[RequestOptions] = None
721
+ async def check(self, *, request_options: typing.Optional[RequestOptions] = None) -> AsyncHttpResponse[None]:
722
+ """
723
+ Parameters
724
+ ----------
725
+ request_options : typing.Optional[RequestOptions]
726
+ Request-specific configuration.
727
+
728
+ Returns
729
+ -------
730
+ AsyncHttpResponse[None]
731
+ """
732
+ _response = await self._client_wrapper.httpx_client.request(
733
+ "v1/providers/check",
734
+ method="GET",
735
+ request_options=request_options,
736
+ )
737
+ try:
738
+ if 200 <= _response.status_code < 300:
739
+ return AsyncHttpResponse(response=_response, data=None)
740
+ _response_json = _response.json()
741
+ except JSONDecodeError:
742
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
743
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
744
+
745
+ async def check_provider(
746
+ self,
747
+ *,
748
+ provider_type: ProviderType,
749
+ api_key: str,
750
+ access_key: typing.Optional[str] = OMIT,
751
+ region: typing.Optional[str] = OMIT,
752
+ base_url: typing.Optional[str] = OMIT,
753
+ api_version: typing.Optional[str] = OMIT,
754
+ request_options: typing.Optional[RequestOptions] = None,
661
755
  ) -> AsyncHttpResponse[typing.Optional[typing.Any]]:
662
756
  """
663
757
  Parameters
664
758
  ----------
759
+ provider_type : ProviderType
760
+ The type of the provider.
761
+
762
+ api_key : str
763
+ API key or secret key used for requests to the provider.
764
+
765
+ access_key : typing.Optional[str]
766
+ Access key used for requests to the provider.
767
+
768
+ region : typing.Optional[str]
769
+ Region used for requests to the provider.
770
+
771
+ base_url : typing.Optional[str]
772
+ Base URL used for requests to the provider.
773
+
774
+ api_version : typing.Optional[str]
775
+ API version used for requests to the provider.
776
+
665
777
  request_options : typing.Optional[RequestOptions]
666
778
  Request-specific configuration.
667
779
 
@@ -672,8 +784,20 @@ class AsyncRawProvidersClient:
672
784
  """
673
785
  _response = await self._client_wrapper.httpx_client.request(
674
786
  "v1/providers/check",
675
- method="GET",
787
+ method="POST",
788
+ json={
789
+ "provider_type": provider_type,
790
+ "api_key": api_key,
791
+ "access_key": access_key,
792
+ "region": region,
793
+ "base_url": base_url,
794
+ "api_version": api_version,
795
+ },
796
+ headers={
797
+ "content-type": "application/json",
798
+ },
676
799
  request_options=request_options,
800
+ omit=OMIT,
677
801
  )
678
802
  try:
679
803
  if _response is None or not _response.text.strip():
@@ -212,7 +212,6 @@ from .payment_required_error_body import PaymentRequiredErrorBody
212
212
  from .pip_requirement import PipRequirement
213
213
  from .provider import Provider
214
214
  from .provider_category import ProviderCategory
215
- from .provider_check import ProviderCheck
216
215
  from .provider_trace import ProviderTrace
217
216
  from .provider_type import ProviderType
218
217
  from .reasoning_content import ReasoningContent
@@ -498,7 +497,6 @@ __all__ = [
498
497
  "PipRequirement",
499
498
  "Provider",
500
499
  "ProviderCategory",
501
- "ProviderCheck",
502
500
  "ProviderTrace",
503
501
  "ProviderType",
504
502
  "ReasoningContent",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.254
3
+ Version: 0.1.256
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -1,4 +1,4 @@
1
- letta_client/__init__.py,sha256=isnKGKGh5zDATxOMjBPWT___aqetotIXc-wEGUsISHk,21236
1
+ letta_client/__init__.py,sha256=rtr9CTOq7fyIoSU6wXtwv1j8dVU-_lpQLy1wsJaJaFs,21196
2
2
  letta_client/agents/__init__.py,sha256=JkuWGGNJsCfnMr2DFzQ1SiqEB1tcFZnafdidODi0_DY,2166
3
3
  letta_client/agents/blocks/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
4
4
  letta_client/agents/blocks/client.py,sha256=Akx-1SYEXkmdtLtytPtdFNhVts8JkjC2aMQnnWgd8Ug,14735
@@ -40,8 +40,8 @@ letta_client/agents/sources/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23
40
40
  letta_client/agents/sources/client.py,sha256=lCqB6FF9svrwf0oZSFs41WKlMXc-YRhUeb4FZkHbicM,6868
41
41
  letta_client/agents/sources/raw_client.py,sha256=ts4c5UBuXzrHU-lFWWrYniQqrMEc8SN0rfiqNXJLP5Y,12399
42
42
  letta_client/agents/templates/__init__.py,sha256=nl2JyHPmf_fwmrqDyrztyGaUXFBxd5sYgDy6rPexk0Y,317
43
- letta_client/agents/templates/client.py,sha256=bNNhkYfMjPAoUa8NjKtpklnJEXoFGZSRtu2Xx_omms4,10363
44
- letta_client/agents/templates/raw_client.py,sha256=NnIhKtE1b3b9PVOA6prhUSavRUGfCMWM7lonyWywbyo,19107
43
+ letta_client/agents/templates/client.py,sha256=ZtIpGT7d1nJKkX-3Hk5Tle1iXmQ4ocwUS7xDuxJsZoc,11549
44
+ letta_client/agents/templates/raw_client.py,sha256=SppZ-tXc3FwdXm4tpmjT72kiPaTesCmrfYuLCXSFF6Q,20321
45
45
  letta_client/agents/templates/types/__init__.py,sha256=qTMI52-xwyKNXvdthLkkFFOxetXJbMQpG6YcL0WYQYk,440
46
46
  letta_client/agents/templates/types/templates_create_response.py,sha256=C00qcgSgyf3sSFAE55k45UmdC_aC5-zobIO3AavWOPE,807
47
47
  letta_client/agents/templates/types/templates_create_version_request_return_agent_state.py,sha256=bHgN0KfiCClqf_ZYsfK6o8ELEm_cvmkW-TlzXTFanO8,177
@@ -92,7 +92,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_list_clie
92
92
  letta_client/client_side_access_tokens/types/client_side_access_tokens_list_client_side_access_tokens_response_tokens_item_policy_data_item_access_item.py,sha256=kNHfEWFl7u71Pu8NPqutod0a2NXfvq8il05Hqm0iBB4,284
93
93
  letta_client/core/__init__.py,sha256=tpn7rjb6C2UIkYZYIqdrNpI7Yax2jw88sXh2baxaxAI,1715
94
94
  letta_client/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
95
- letta_client/core/client_wrapper.py,sha256=VJkjNipz7YccjDcXlwLDGvcMLiyvWoayMw9D-RzEsKI,2776
95
+ letta_client/core/client_wrapper.py,sha256=soND1nkEb679y6Fc_pCuaDVQMzBSPCuwMOgo72EHaqo,2776
96
96
  letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
97
97
  letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
98
98
  letta_client/core/force_multipart.py,sha256=awxh5MtcRYe74ehY8U76jzv6fYM_w_D3Rur7KQQzSDk,429
@@ -163,8 +163,8 @@ letta_client/projects/types/__init__.py,sha256=o_1s2iqf5SY1ojqTeewCt6c7sxrn6gzka
163
163
  letta_client/projects/types/projects_list_response.py,sha256=WJ_LHfEujdpeFL6wM3RP1uYgsAAwFK03-rEwmr3UU1w,859
164
164
  letta_client/projects/types/projects_list_response_projects_item.py,sha256=VyG_OR4KlZIA3mgd7FCFk1kSM7NxAi3MNBzAgDrUddo,606
165
165
  letta_client/providers/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
166
- letta_client/providers/client.py,sha256=hxUV42wuRzmg9yPkNKnYs_Z96aUBbvOwnvHfpbrcn4w,15007
167
- letta_client/providers/raw_client.py,sha256=98vhRddD_tmMgQQoOlEdmPST7CwBXp8dsHznJvjksbk,25768
166
+ letta_client/providers/client.py,sha256=999OcO9GFtwmgx9PxA3lF-dEOp4ZEADsWDckeIKcKI0,18717
167
+ letta_client/providers/raw_client.py,sha256=vg3z7P7UOjtLraW6GYb2YS5q496GYoyWN1s7u127q8E,30135
168
168
  letta_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
169
169
  letta_client/runs/__init__.py,sha256=uuC70ZTE_Kcll7LqC18Orc60J5kBAfUo4ZJFB6FRgWA,164
170
170
  letta_client/runs/client.py,sha256=FCH2UqXqe12RORyO10mcctNiDh5T1725CmKewCM76uk,9235
@@ -228,7 +228,7 @@ letta_client/tools/types/streaming_response.py,sha256=V1qT-XAqm-z7zffJ7W1JKPCaxZ
228
228
  letta_client/tools/types/test_mcp_server_request.py,sha256=3SqjEL3EYi7iV57TjTIzuBSKv8O3Y7qSUFrCiXEvSRk,373
229
229
  letta_client/tools/types/update_mcp_server_request.py,sha256=MHouV3iyZCTROguOQP5rOYvnmvDbBeXe5VtEejRvrEs,403
230
230
  letta_client/tools/types/update_mcp_server_response.py,sha256=BJTPHWkb8hwgd4FvftQ8eZjl2QzCQT-vZAUVnLft9hw,376
231
- letta_client/types/__init__.py,sha256=kvRmeOAPGjDrTTz4RZJpsPelL77W0tzk4POxIgOSuVc,25777
231
+ letta_client/types/__init__.py,sha256=ZfDuDphGnLFxJ_X5FCZ6Q8sOy0e2nDoRD_cAbZbDpYo,25714
232
232
  letta_client/types/action_model.py,sha256=VTXavHB6J2d4MjjTMEpkuEyVaiTHyj1FGfa4j8kN6hQ,1241
233
233
  letta_client/types/action_parameters_model.py,sha256=s1mJ4tycms8UmCFsxyjKr6RbghSuqv35xpa9mK42sjg,829
234
234
  letta_client/types/action_response_model.py,sha256=LcML150OvsKimVV3sP4jSFh8pVxQXn_r_ff8DADOr3c,825
@@ -427,7 +427,6 @@ letta_client/types/payment_required_error_body.py,sha256=ODQ2fA8EF1Y_pfZocseOg1R
427
427
  letta_client/types/pip_requirement.py,sha256=A9mFgoz-yAlVHsy8vljtYdtJInfN7qL1JePPaPuTr2Y,774
428
428
  letta_client/types/provider.py,sha256=hUTNL8HIolqPtKwPdSxjElEhENIYh05nB12ma9pcZ1g,1890
429
429
  letta_client/types/provider_category.py,sha256=St4tSc_Wc5huF79kb088-L-tRz9Cj2_b5DqEoU4eDIs,156
430
- letta_client/types/provider_check.py,sha256=8azqy6twmmMMRi8sL67DzAg1hF9yRFHnhHqPizwvtxg,1326
431
430
  letta_client/types/provider_trace.py,sha256=d7_IpoEgLeqnPaElWjOp6iAL8SbeI4DZsBaaaFtkorM,2201
432
431
  letta_client/types/provider_type.py,sha256=GChNOHlZBAq3J0H4gv_1Hmg3Ju678iffL5HU6mGdKQE,481
433
432
  letta_client/types/reasoning_content.py,sha256=YPmNwwSH_toPAThpE5gq7gaxBlvvjh33csKBRdFI_iY,996
@@ -517,6 +516,6 @@ letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
517
516
  letta_client/voice/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
518
517
  letta_client/voice/client.py,sha256=EbIVOQh4HXqU9McATxwga08STk-HUwPEAUr_UHqyKHg,3748
519
518
  letta_client/voice/raw_client.py,sha256=KvM_3GXuSf51bubM0RVBnxvlf20qZTFMnaA_BzhXzjQ,5938
520
- letta_client-0.1.254.dist-info/METADATA,sha256=MU7JGko3f9ozjrpRIQPyufdpLPHR2pHUPqGWxkO9TDg,5781
521
- letta_client-0.1.254.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
522
- letta_client-0.1.254.dist-info/RECORD,,
519
+ letta_client-0.1.256.dist-info/METADATA,sha256=aiUh4WDcGc730FVAp2tnW-YVYvnJz7vxtPkIG5SjRlo,5781
520
+ letta_client-0.1.256.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
521
+ letta_client-0.1.256.dist-info/RECORD,,
@@ -1,49 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- from ..core.pydantic_utilities import IS_PYDANTIC_V2
7
- from ..core.unchecked_base_model import UncheckedBaseModel
8
- from .provider_type import ProviderType
9
-
10
-
11
- class ProviderCheck(UncheckedBaseModel):
12
- provider_type: ProviderType = pydantic.Field()
13
- """
14
- The type of the provider.
15
- """
16
-
17
- api_key: str = pydantic.Field()
18
- """
19
- API key or secret key used for requests to the provider.
20
- """
21
-
22
- access_key: typing.Optional[str] = pydantic.Field(default=None)
23
- """
24
- Access key used for requests to the provider.
25
- """
26
-
27
- region: typing.Optional[str] = pydantic.Field(default=None)
28
- """
29
- Region used for requests to the provider.
30
- """
31
-
32
- base_url: typing.Optional[str] = pydantic.Field(default=None)
33
- """
34
- Base URL used for requests to the provider.
35
- """
36
-
37
- api_version: typing.Optional[str] = pydantic.Field(default=None)
38
- """
39
- API version used for requests to the provider.
40
- """
41
-
42
- if IS_PYDANTIC_V2:
43
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
44
- else:
45
-
46
- class Config:
47
- frozen = True
48
- smart_union = True
49
- extra = pydantic.Extra.allow