@letta-ai/letta-client 1.7.1 → 1.7.2

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.
@@ -241,7 +241,8 @@ export interface LlmConfig {
241
241
  | 'bedrock'
242
242
  | 'deepseek'
243
243
  | 'xai'
244
- | 'zai';
244
+ | 'zai'
245
+ | 'chatgpt_oauth';
245
246
 
246
247
  /**
247
248
  * The framework compatibility type for the model.
@@ -338,6 +339,13 @@ export interface LlmConfig {
338
339
  | AgentsAPI.JsonObjectResponseFormat
339
340
  | null;
340
341
 
342
+ /**
343
+ * Enable strict mode for tool calling. When true, tool schemas include strict:
344
+ * true and additionalProperties: false, guaranteeing tool outputs match JSON
345
+ * schemas.
346
+ */
347
+ strict?: boolean;
348
+
341
349
  /**
342
350
  * The temperature to use when generating text with the model. A higher temperature
343
351
  * will result in more random text.
@@ -398,7 +406,8 @@ export interface Model {
398
406
  | 'bedrock'
399
407
  | 'deepseek'
400
408
  | 'xai'
401
- | 'zai';
409
+ | 'zai'
410
+ | 'chatgpt_oauth';
402
411
 
403
412
  /**
404
413
  * The actual model name used by the provider
@@ -504,6 +513,13 @@ export interface Model {
504
513
  | AgentsAPI.JsonObjectResponseFormat
505
514
  | null;
506
515
 
516
+ /**
517
+ * Enable strict mode for tool calling. When true, tool schemas include strict:
518
+ * true and additionalProperties: false, guaranteeing tool outputs match JSON
519
+ * schemas.
520
+ */
521
+ strict?: boolean;
522
+
507
523
  /**
508
524
  * @deprecated Deprecated: The temperature to use when generating text with the
509
525
  * model.
@@ -528,6 +544,7 @@ export type ProviderType =
528
544
  | 'azure'
529
545
  | 'bedrock'
530
546
  | 'cerebras'
547
+ | 'chatgpt_oauth'
531
548
  | 'deepseek'
532
549
  | 'google_ai'
533
550
  | 'google_vertex'
@@ -540,6 +557,7 @@ export type ProviderType =
540
557
  | 'openai'
541
558
  | 'together'
542
559
  | 'vllm'
560
+ | 'sglang'
543
561
  | 'xai'
544
562
  | 'zai';
545
563
 
@@ -48,9 +48,13 @@ export type StepsArrayPage = ArrayPage<Step>;
48
48
  * Attributes: id (str): The unique identifier of the provider trace. request_json
49
49
  * (Dict[str, Any]): JSON content of the provider request. response_json (Dict[str,
50
50
  * Any]): JSON content of the provider response. step_id (str): ID of the step that
51
- * this trace is associated with. organization_id (str): The unique identifier of
52
- * the organization. created_at (datetime): The timestamp when the object was
53
- * created.
51
+ * this trace is associated with. agent_id (str): ID of the agent that generated
52
+ * this trace. agent_tags (list[str]): Tags associated with the agent for
53
+ * filtering. call_type (str): Type of call (agent_step, summarization, etc.).
54
+ * run_id (str): ID of the run this trace is associated with. source (str): Source
55
+ * service that generated this trace (memgpt-server, lettuce-py). organization_id
56
+ * (str): The unique identifier of the organization. created_at (datetime): The
57
+ * timestamp when the object was created.
54
58
  */
55
59
  export interface ProviderTrace {
56
60
  /**
@@ -68,6 +72,21 @@ export interface ProviderTrace {
68
72
  */
69
73
  id?: string;
70
74
 
75
+ /**
76
+ * ID of the agent that generated this trace
77
+ */
78
+ agent_id?: string | null;
79
+
80
+ /**
81
+ * Tags associated with the agent for filtering
82
+ */
83
+ agent_tags?: Array<string> | null;
84
+
85
+ /**
86
+ * Type of call (agent_step, summarization, etc.)
87
+ */
88
+ call_type?: string | null;
89
+
71
90
  /**
72
91
  * The timestamp when the object was created.
73
92
  */
@@ -83,6 +102,16 @@ export interface ProviderTrace {
83
102
  */
84
103
  last_updated_by_id?: string | null;
85
104
 
105
+ /**
106
+ * ID of the run this trace is associated with
107
+ */
108
+ run_id?: string | null;
109
+
110
+ /**
111
+ * Source service that generated this trace (memgpt-server, lettuce-py)
112
+ */
113
+ source?: string | null;
114
+
86
115
  /**
87
116
  * ID of the step that this trace is associated with
88
117
  */
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.7.1'; // x-release-please-version
1
+ export const VERSION = '1.7.2'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.7.1";
1
+ export declare const VERSION = "1.7.2";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.7.1";
1
+ export declare const VERSION = "1.7.2";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '1.7.1'; // x-release-please-version
4
+ exports.VERSION = '1.7.2'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '1.7.1'; // x-release-please-version
1
+ export const VERSION = '1.7.2'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map