name the field when sampling content is missing (#689) Follow-up to [this thread](https://github.com/dart-lang/ai/pull/685#discussion_r4063946725) on #685. A `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/`.
A general repository for AI / GenAI packages and explorations.
| Package | Description | Issues | Version |
|---|---|---|---|
| dart_mcp | A package for making MCP servers and clients. | ||
| dart_mcp_server | An MCP server for Dart projects, exposing various developer tools to AI models. | ||
| skills | A CLI for managing skills shipped in packages and from git repos |