Sequential Thinking

Sequential Thinking (Single Stream)

For a single reasoning stream, one thinking block must share the same id

// Event 1: Start reasoning
{
  "data_type": "thinking_start",
  "data_value": "",
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
// Event 2: Reasoning content (can repeat multiple times)
{
  "data_type": "thinking",
  "data_value": "Analyzing the user's query about smartphone specifications...",
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
// Event 3: More reasoning content
{
  "data_type": "thinking",
  "data_value": "I should search for Oppo smartphones with camera details...",
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
// Event 4: End reasoning
{
  "data_type": "thinking_end",
  "data_value": "",
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Database Storage

All thinking events with the same id are merged into a single event

circle-info

⚠️ thinking_start and thinking_end events are filtered out and not saved to the database

Last updated