Add timestamp to messages

This commit is contained in:
Mario Zechner 2025-10-26 00:43:43 +02:00
parent ef09efaac9
commit 55dc0b6e08
24 changed files with 388 additions and 220 deletions

View file

@ -63,7 +63,7 @@ export class ProviderKeyInput extends LitElement {
}
const context: Context = {
messages: [{ role: "user", content: "Reply with: ok" }],
messages: [{ role: "user", content: "Reply with: ok", timestamp: Date.now() }],
};
const result = await complete(model, context, {