public static class McpSchema.ModelHint
extends java.lang.Object
| 构造器和说明 |
|---|
ModelHint(java.lang.String name) |
| 限定符和类型 | 方法和说明 |
|---|---|
static McpSchema.ModelHint |
of(java.lang.String name) |
public ModelHint(java.lang.String name)
name - A hint for a model name. The client SHOULD treat this as a substring of
a model name; for example: `claude-3-5-sonnet` should match
`claude-3-5-sonnet-20241022`, `sonnet` should match `claude-3-5-sonnet-20241022`,
`claude-3-sonnet-20240229`, etc., `claude` should 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 nichepublic static McpSchema.ModelHint of(java.lang.String name)