)]}'
{
  "commit": "021557a7d33dacd4fedb9a4677fc93c48569d57a",
  "tree": "13a020ae99f9f86de4b2b10d919427c9287f3de8",
  "parents": [
    "5a7b3698b523365fe070ffcd1019c704c2c3a7b5"
  ],
  "author": {
    "name": "Sean McCullough",
    "email": "banksean@gmail.com",
    "time": "Mon May 05 23:20:53 2025 +0000"
  },
  "committer": {
    "name": "Sean McCullough",
    "email": "banksean@gmail.com",
    "time": "Mon May 05 16:58:53 2025 -0700"
  },
  "message": "Allow multiplechoice tool to end the model turn\n\nAdd EndsTurn field to llm.Tool to indicate if a tool should force the end of a turn.\nSet the multiplechoice tool to end the turn by setting EndsTurn\u003dtrue.\nUpdate OnResponse to check for tools that should end the turn.\n\nTranscript of the chat for this change:\nhttps://sketch.dev/messages/1f4n-17a3-hmfx-71gg\n\nNote that I did ask it to investigate an alternative approach, but decided\nthis one (explicit EndsTurn field on Tool) was a better trade-off than\nthe alternative (altering the Tool.Run signature).\n\nCo-Authored-By: sketch \u003chello@sketch.dev\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3ba6ed4d946015cab34cdf151854341c4d4c6368",
      "old_mode": 33188,
      "old_path": "llm/llm.go",
      "new_id": "1e53ea38a1313405d3c0c20a132bc8fff9d3ff87",
      "new_mode": 33188,
      "new_path": "llm/llm.go"
    },
    {
      "type": "modify",
      "old_id": "0c1f2ff47ba06db95f5be137e64bc4cf64eb23b9",
      "old_mode": 33188,
      "old_path": "loop/agent.go",
      "new_id": "f5f40edd481491e3a6bd89c0d5cb6ea780b3ca4c",
      "new_mode": 33188,
      "new_path": "loop/agent.go"
    }
  ]
}
