Skip to main content

SESSION_INSERT

Constant SESSION_INSERT 

Source
pub const SESSION_INSERT: &str = "\
INSERT INTO sessions \
(id, user_id, team_id, tool, agent_provider, agent_model, \
 title, description, tags, created_at, \
 message_count, task_count, event_count, duration_seconds, \
 total_input_tokens, total_output_tokens, body_storage_key) \
VALUES (?1,?2,?3,?4,?5,?6,?7,?8,?9,?10,?11,?12,?13,?14,?15,?16,?17)";
Expand description

INSERT a new session (17 params).