class
MCProtocol::ModelHint
- MCProtocol::ModelHint
- Reference
- Object
Overview
Hints to use for model selection.
Keys not declared here are currently left unspecified by the spec and are up to the client to interpret.
Included Modules
- JSON::Serializable
Defined in:
mcprotocol/model_hint.crConstructors
Instance Method Summary
-
#name : String | Nil
A hint for a model name.
Constructor Detail
Instance Method Detail
def name : String | Nil
#
A hint for a model name.
The client SHOULD treat this as a substring of a model name; for example:
claude-3-5-sonnetshould matchclaude-3-5-sonnet-20241022sonnetshould matchclaude-3-5-sonnet-20241022,claude-3-sonnet-20240229, etc.claudeshould match any Claude model
The client MAY also map the string to a different provider's model name or a different model family, as long as it fills a similar niche; for example:
gemini-1.5-flashcould matchclaude-3-haiku-20240307