u
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user