Remove unused constant
This PR removes an unused constant that is not referenced anywhere and was likely left over during development.
This commit is contained in:
parent
18f3e8761e
commit
9bcb3bf15b
1 changed files with 0 additions and 17 deletions
|
|
@ -34,23 +34,6 @@ module ModelContextProtocol
|
||||||
|
|
||||||
extend self
|
extend self
|
||||||
|
|
||||||
ALL_METHODS = [
|
|
||||||
SAMPLING_CREATE_MESSAGE,
|
|
||||||
INITIALIZE,
|
|
||||||
LOGGING_SET_LEVEL,
|
|
||||||
PING,
|
|
||||||
PROMPTS_GET,
|
|
||||||
PROMPTS_LIST,
|
|
||||||
COMPLETION_COMPLETE,
|
|
||||||
RESOURCES_LIST,
|
|
||||||
RESOURCES_READ,
|
|
||||||
RESOURCES_TEMPLATES_LIST,
|
|
||||||
RESOURCES_SUBSCRIBE,
|
|
||||||
RESOURCES_UNSUBSCRIBE,
|
|
||||||
TOOLS_CALL,
|
|
||||||
TOOLS_LIST,
|
|
||||||
]
|
|
||||||
|
|
||||||
def ensure_capability!(method, capabilities)
|
def ensure_capability!(method, capabilities)
|
||||||
case method
|
case method
|
||||||
when PROMPTS_GET, PROMPTS_LIST, COMPLETION_COMPLETE
|
when PROMPTS_GET, PROMPTS_LIST, COMPLETION_COMPLETE
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue