)]}'
{
  "commit": "4ea9e774b687d7292fd89aa340e622d67dc082c8",
  "tree": "ce0867ce0bd5b01f500c9090f8d1ab5c677f2827",
  "parents": [
    "79a86be8e3664cf120a1df40b14244e2e1e22f8e"
  ],
  "author": {
    "name": "Yusuf İhsan Görgel",
    "email": "developeryusuf@icloud.com",
    "time": "Tue Sep 22 22:38:35 2026 +0300"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Sep 22 12:38:35 2026 -0700"
  },
  "message": "name the field when sampling content is missing (#689)\n\nFollow-up to [this thread](https://github.com/dart-lang/ai/pull/685#discussion_r4063946725) on #685.\n\nA `SamplingMessage` without `content` now throws an `ArgumentError` naming the field, instead of a `TypeError` from the cast. Its wording follows the other missing-field checks under `lib/src/api/`.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8db24e2cdba74530ecbb1fbf100d56b3c593bcd6",
      "old_mode": 33188,
      "old_path": "pkgs/dart_mcp/CHANGELOG.md",
      "new_id": "bd3b70de5d36e4cf3531b0fe0a3d1547dda0d4b4",
      "new_mode": 33188,
      "new_path": "pkgs/dart_mcp/CHANGELOG.md"
    },
    {
      "type": "modify",
      "old_id": "f381b7ac8eba21645eb2503498275416c049ae1e",
      "old_mode": 33188,
      "old_path": "pkgs/dart_mcp/lib/src/api/sampling.dart",
      "new_id": "ec5f2be64259746c588cf16d654ffdce0376f67a",
      "new_mode": 33188,
      "new_path": "pkgs/dart_mcp/lib/src/api/sampling.dart"
    },
    {
      "type": "modify",
      "old_id": "e3dfde6b4be62ee35675c09ee694d40e3abe7193",
      "old_mode": 33188,
      "old_path": "pkgs/dart_mcp/test/api/sampling_test.dart",
      "new_id": "e2d9d185e69ca293b334b094f677a94cd8612481",
      "new_mode": 33188,
      "new_path": "pkgs/dart_mcp/test/api/sampling_test.dart"
    }
  ]
}
