You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+32Lines changed: 32 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,37 @@
1
1
# Changelog
2
2
3
+
## 1.0.0-alpha.7 (2025-10-24)
4
+
5
+
Full Changelog: [v1.0.0-alpha.6...v1.0.0-alpha.7](https://github.com/letta-ai/letta-node/compare/v1.0.0-alpha.6...v1.0.0-alpha.7)
6
+
7
+
### Features
8
+
9
+
* add agent template route to config ([a379f18](https://github.com/letta-ai/letta-node/commit/a379f189b301a71a7f229561327481ec9510ef93))
10
+
* add new archive routes to sdk ([389a103](https://github.com/letta-ai/letta-node/commit/389a103835dac6e45720e8c640c4f46050bb0320))
11
+
* add openai-style include param for agents relationship loading ([b5d9129](https://github.com/letta-ai/letta-node/commit/b5d91299de0444d848d9d340c1f4e97fcf99003c))
12
+
* attach/detach identities route on blocks and agents, move archives attach/detach routes to agents ([3598ad8](https://github.com/letta-ai/letta-node/commit/3598ad8be4b5ba0bc8a52d8804aa356e451fbbb8))
13
+
* deprecate append copy suffix, add override name [LET-5779] ([9315a1d](https://github.com/letta-ai/letta-node/commit/9315a1d1ce68b0dc3c569a0798dc57a03f9da945))
14
+
* deprecate use_assistant_message in list endpoints ([01dc718](https://github.com/letta-ai/letta-node/commit/01dc71801be25019afd1f78897f549e61b50fa83))
15
+
* fix patch approvals endpoint incorrectly using queyr params ([7afe5c8](https://github.com/letta-ai/letta-node/commit/7afe5c8f4e59ea35e227741de29656be9f8d7169))
16
+
* remove relationship fields on identities ([46760eb](https://github.com/letta-ai/letta-node/commit/46760ebf5f756ac46ad49fedcfaa6376aa765990))
17
+
* remove run tool for external sdk ([7553ec2](https://github.com/letta-ai/letta-node/commit/7553ec211dec69ff9c65492f2810abd5d165c322))
18
+
* remove unused max length parameter ([52583f4](https://github.com/letta-ai/letta-node/commit/52583f440712308078b2a7df068500f056ed153c))
19
+
* rename multi agent group to managed group ([c28d519](https://github.com/letta-ai/letta-node/commit/c28d5193c93e5388ec9ca439e9fbfda0ac9a14b3))
20
+
* replace agent.identity_ids with agent.identities ([d030ea8](https://github.com/letta-ai/letta-node/commit/d030ea82e6e23c691c60bc47268e50db1a02b3ad))
21
+
* reset message incorrectly using query param ([8887c58](https://github.com/letta-ai/letta-node/commit/8887c5802c50f782562572c650d8b7ffcc0d9fa6))
* Support embedding config on the archive [LET-5832] ([c464e03](https://github.com/letta-ai/letta-node/commit/c464e035785567695f998d18c661b1cfb4a35ed0))
24
+
25
+
26
+
### Bug Fixes
27
+
28
+
* sdk config code gen ([7c34069](https://github.com/letta-ai/letta-node/commit/7c340694b03d629e1a70081ff392440c30c59023))
29
+
30
+
31
+
### Chores
32
+
33
+
* add context_window_limit and max_tokens to UpdateAgent [LET-3743][LET-3741] ([e8a7bd3](https://github.com/letta-ai/letta-node/commit/e8a7bd347e8973beefcf467b8da6532b39f74aa1))
34
+
3
35
## 1.0.0-alpha.6 (2025-10-22)
4
36
5
37
Full Changelog: [v0.0.1...v1.0.0-alpha.6](https://github.com/letta-ai/letta-node/compare/v0.0.1...v1.0.0-alpha.6)
const { data: archive, response: raw } =awaitclient.archives
218
+
.create({
219
+
embedding_config: {
220
+
embedding_dim: 0,
221
+
embedding_endpoint_type: 'openai',
222
+
embedding_model: 'embedding_model',
223
+
},
224
+
name: 'name',
225
+
})
226
+
.withResponse();
176
227
console.log(raw.headers.get('X-My-Header'));
177
228
console.log(archive.id);
178
229
```
@@ -187,13 +238,13 @@ console.log(archive.id);
187
238
188
239
The log level can be configured in two ways:
189
240
190
-
1. Via the `LETTA_SDK_LOG` environment variable
241
+
1. Via the `LETTA_LOG` environment variable
191
242
2. Using the `logLevel` client option (overrides the environment variable if set)
192
243
193
244
```ts
194
-
importLettaSDKfrom'@letta-ai/letta-client';
245
+
importLettafrom'@letta-ai/letta-client';
195
246
196
-
const client =newLettaSDK({
247
+
const client =newLetta({
197
248
logLevel: 'debug', // Show all log messages
198
249
});
199
250
```
@@ -219,13 +270,13 @@ When providing a custom logger, the `logLevel` option still controls which messa
219
270
below the configured level will not be sent to your logger.
220
271
221
272
```ts
222
-
importLettaSDKfrom'@letta-ai/letta-client';
273
+
importLettafrom'@letta-ai/letta-client';
223
274
importpinofrom'pino';
224
275
225
276
const logger =pino();
226
277
227
-
const client =newLettaSDK({
228
-
logger: logger.child({ name: 'LettaSDK' }),
278
+
const client =newLetta({
279
+
logger: logger.child({ name: 'Letta' }),
229
280
logLevel: 'debug', // Send all messages to pino, allowing it to filter
230
281
});
231
282
```
@@ -254,7 +305,7 @@ parameter. This library doesn't validate at runtime that the request matches the
254
305
send will be sent as-is.
255
306
256
307
```ts
257
-
client.archives.update({
308
+
client.archives.create({
258
309
// ...
259
310
// @ts-expect-error baz is not yet public
260
311
baz: 'undocumented option',
@@ -288,20 +339,20 @@ globalThis.fetch = fetch;
288
339
Or pass it to the client:
289
340
290
341
```ts
291
-
importLettaSDKfrom'@letta-ai/letta-client';
342
+
importLettafrom'@letta-ai/letta-client';
292
343
importfetchfrom'my-fetch';
293
344
294
-
const client =newLettaSDK({ fetch });
345
+
const client =newLetta({ fetch });
295
346
```
296
347
297
348
### Fetch options
298
349
299
350
If you want to set custom `fetch` options without overriding the `fetch` function, you can provide a `fetchOptions` object when instantiating the client or making a request. (Request-specific options override client options.)
0 commit comments