Started omitting instructions if they are null. (#221)

fixes https://github.com/dart-lang/ai/issues/196

This makes sure that the map for the InitializationResult doesn't include a `instructions` entry if the value is null.
4 files changed
tree: e8bc71710bc5246bb37c5cacba3caa7bae7beeb0
  1. .github/
  2. .vscode/
  3. mcp_examples/
  4. pkgs/
  5. .gitignore
  6. CONTRIBUTING.md
  7. LICENSE
  8. README.md
README.md

Overview

A general repository for AI / GenAI packages and explorations.

Packages

PackageDescriptionIssuesVersion
dart_mcpA package for making MCP servers and clients.issuespub package
dart_mcp_serverAn MCP server for Dart projects, exposing various developer tools to AI models.issuesn/a