mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-21 16:18:55 +00:00
fix: add api_content to _CONVERSATION_ROW_COLUMNS for get_resume_conversations
The PR added api_content to get_messages_as_conversation's inline SELECT but missed the shared _CONVERSATION_ROW_COLUMNS constant used by get_resume_conversations — _rows_to_conversation references row["api_content"] but the column wasn't in the SELECT, causing IndexError on resume-session tests. Co-authored-by: Soju06 <qlskssk@gmail.com>
This commit is contained in:
parent
39efad89a8
commit
c7035ef252
1 changed files with 2 additions and 1 deletions
|
|
@ -4870,7 +4870,8 @@ class SessionDB:
|
|||
_CONVERSATION_ROW_COLUMNS = (
|
||||
"role, content, tool_call_id, tool_calls, tool_name, effect_disposition, "
|
||||
"finish_reason, reasoning, reasoning_content, reasoning_details, "
|
||||
"codex_reasoning_items, codex_message_items, platform_message_id, observed, timestamp"
|
||||
"codex_reasoning_items, codex_message_items, platform_message_id, observed, timestamp, "
|
||||
"api_content"
|
||||
)
|
||||
|
||||
def _rows_to_conversation(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue