@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/index.js
CHANGED
|
@@ -9507,7 +9507,7 @@ class RemoteClientSessionCore {
|
|
|
9507
9507
|
}
|
|
9508
9508
|
async updateModel(update) {
|
|
9509
9509
|
if (this.mode.kind === "session" && this.mode.options.stateless === true) {
|
|
9510
|
-
throw new Error("updateModel() is unavailable in a stateless session because it changes
|
|
9510
|
+
throw new Error("updateModel() is unavailable in a stateless session because it changes persistent model configuration.");
|
|
9511
9511
|
}
|
|
9512
9512
|
if (!this.initialized) {
|
|
9513
9513
|
await this.initialize();
|
|
@@ -11897,7 +11897,7 @@ function validateCreateSessionOptions(options) {
|
|
|
11897
11897
|
["resources", options.resources]
|
|
11898
11898
|
].find(([, value]) => value !== undefined);
|
|
11899
11899
|
if (persistedOption) {
|
|
11900
|
-
throw new Error(`stateless sessions cannot set ${persistedOption[0]} because it changes
|
|
11900
|
+
throw new Error(`stateless sessions cannot set ${persistedOption[0]} because it changes persistent configuration.`);
|
|
11901
11901
|
}
|
|
11902
11902
|
}
|
|
11903
11903
|
validateClientToolset(options.toolset);
|
|
@@ -30430,4 +30430,4 @@ export {
|
|
|
30430
30430
|
CloudManagedSandboxExpiredError
|
|
30431
30431
|
};
|
|
30432
30432
|
|
|
30433
|
-
//# debugId=
|
|
30433
|
+
//# debugId=E9118732BD62E43064756E2164756E21
|