feat: pass version in letta remote (#1226)

This commit is contained in:
Shubham Naik
2026-03-03 12:57:09 -08:00
committed by GitHub
parent 9372605cf2
commit 68e4bc0b4a
2 changed files with 12 additions and 1 deletions

View File

@@ -47,9 +47,14 @@ describe("registerWithCloud", () => {
"letta-code",
);
const body = JSON.parse(init.body as string);
expect(body).toEqual({
expect(body).toMatchObject({
deviceId: "device-123",
connectionName: "test-machine",
metadata: {
lettaCodeVersion: expect.any(String),
os: expect.any(String),
nodeVersion: expect.any(String),
},
});
});