inference fixes

This commit is contained in:
Storme-bit
2026-04-10 04:19:14 -07:00
parent 035c02be5a
commit 037a8d5d32
4 changed files with 6 additions and 5 deletions

View File

@@ -91,7 +91,7 @@ async function createEpisode(sessionId, userMessage, aiResponse, tokenCount = nu
function getEpisode(id) {
const db = getDB();
const stmt = db.prepare(`SELECT * FROM episodes WHERE id = ?`);
return parseEpisode(stmt.get(id));
return parseRow(stmt.get(id));
}
// Retrieves episodes for a given session, ordered by creation time descending, with pagination