@letta-ai/letta-agent-sdk 0.7.4 → 0.7.5
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.
- package/dist/client-entry.js +3 -3
- package/dist/client-entry.js.map +4 -4
- package/dist/index.js +3 -3
- package/dist/index.js.map +4 -4
- package/dist/types.d.ts +16 -2
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/remote-client-session-core.ts +1 -1
- package/src/types.ts +16 -2
- package/src/validation.ts +1 -1
package/dist/client-entry.js
CHANGED
|
@@ -9486,7 +9486,7 @@ class RemoteClientSessionCore {
|
|
|
9486
9486
|
}
|
|
9487
9487
|
async updateModel(update) {
|
|
9488
9488
|
if (this.mode.kind === "session" && this.mode.options.stateless === true) {
|
|
9489
|
-
throw new Error("updateModel() is unavailable in a stateless session because it changes
|
|
9489
|
+
throw new Error("updateModel() is unavailable in a stateless session because it changes persistent model configuration.");
|
|
9490
9490
|
}
|
|
9491
9491
|
if (!this.initialized) {
|
|
9492
9492
|
await this.initialize();
|
|
@@ -11876,7 +11876,7 @@ function validateCreateSessionOptions(options) {
|
|
|
11876
11876
|
["resources", options.resources]
|
|
11877
11877
|
].find(([, value]) => value !== undefined);
|
|
11878
11878
|
if (persistedOption) {
|
|
11879
|
-
throw new Error(`stateless sessions cannot set ${persistedOption[0]} because it changes
|
|
11879
|
+
throw new Error(`stateless sessions cannot set ${persistedOption[0]} because it changes persistent configuration.`);
|
|
11880
11880
|
}
|
|
11881
11881
|
}
|
|
11882
11882
|
validateClientToolset(options.toolset);
|
|
@@ -12770,4 +12770,4 @@ export {
|
|
|
12770
12770
|
CloudManagedSandboxExpiredError
|
|
12771
12771
|
};
|
|
12772
12772
|
|
|
12773
|
-
//# debugId=
|
|
12773
|
+
//# debugId=4189F3F92EE00D0D64756E2164756E21
|