Internal Release 0.3.0
Add configurable exception reporter Avoid leaking tool exceptions by sending them to a configurable exception reporter Add optional context to pass to tools Add basic instrumentation data/labels
This commit is contained in:
parent
f5a3567494
commit
0645351585
1 changed files with 359 additions and 39 deletions
|
|
@ -8,8 +8,19 @@ require "model_context_protocol/content"
|
|||
require "model_context_protocol/resource"
|
||||
require "model_context_protocol/prompt"
|
||||
require "model_context_protocol/version"
|
||||
require "model_context_protocol/configuration"
|
||||
|
||||
module ModelContextProtocol
|
||||
class << self
|
||||
def configure
|
||||
yield(configuration)
|
||||
end
|
||||
|
||||
def configuration
|
||||
@configuration ||= Configuration.new
|
||||
end
|
||||
end
|
||||
|
||||
class Annotations
|
||||
attr_reader :audience, :priority
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue