diff --git a/docs/plans/2026-04-26-v1-phase1-implementation.md b/docs/plans/2026-04-26-v1-phase1-implementation.md index 1a1ce16..0ad593d 100644 --- a/docs/plans/2026-04-26-v1-phase1-implementation.md +++ b/docs/plans/2026-04-26-v1-phase1-implementation.md @@ -884,7 +884,7 @@ def get_bot(conn: Connection, bot_id: str) -> dict | None: row = conn.execute("SELECT * FROM bots WHERE id = ?", (bot_id,)).fetchone() if not row: return None - cols = [c[0] for c in conn.execute("PRAGMA table_info(bots)").fetchall()] + cols = [c[1] for c in conn.execute("PRAGMA table_info(bots)").fetchall()] d = dict(zip(cols, row)) d["voice_samples"] = json.loads(d.pop("voice_samples_json")) d["traits"] = json.loads(d.pop("traits_json"))