Revert "Update capabilities to be expressible by Boolean literals (#16)" (#18)

This reverts commit 3e628db6d8.
This commit is contained in:
Mattt 2025-03-17 05:42:27 -07:00 • committed by GitHub
commit 59b6b755c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,9 +34,9 @@ struct RoundtripTests {
name: "TestServer",
version: "1.0.0",
capabilities: .init(
prompts: true,
resources: true,
tools: true
prompts: .init(),
resources: .init(),
tools: .init()
)
)
await server.withMethodHandler(ListTools.self) { _ in