init(capability:debugDescription:metadata:)
Creates information describing a capability the model doesn’t support.
Declaration
init(capability: LanguageModelCapabilities.Capability, debugDescription: String, metadata: [String : any Sendable] = [:])Parameters
- capability:
The capability that the model doesn’t support.
- debugDescription:
A debug description to help developers diagnose issues during development.
- metadata:
Additional information about the failure, keyed by name.