This commit is contained in:
seb
2026-10-12 18:09:54 +02:00
parent 88ff9e08a9
commit 10b1d53f9d
5 changed files with 17 additions and 10 deletions

View File

@@ -67,6 +67,7 @@ async function run() {
assert.deepEqual(msgs.map((m) => m.message), ['hello', 'echo: hello', 'second']);
assert.deepEqual(msgs.map((m) => m.role), ['user', 'assistant', 'user']);
assert.equal((await store.modelconversation.list(userA)).find((c) => c.id === conv.id).first_user_message, 'hello');
assert.equal((await store.modelconversation.get(userA, conv.id)).first_user_message, 'hello');
// Other user cannot see or write
const userB = await store.google_auth.add('mc-b@example.com');