Skip to content

Commit 47ba557

Browse files
committed
added streamable for mcp back to example specs
1 parent 4dc2ef9 commit 47ba557

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

lib/ruby_llm/mcp/client.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,6 @@ def transport_oauth_provider
300300
end
301301

302302
def build_adapter
303-
puts "Building adapter: #{@adapter_type}"
304303
case @adapter_type
305304
when :ruby_llm
306305
RubyLLM::MCP::Adapters::RubyLLMAdapter.new(self,

spec/spec_helper.rb

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,19 @@
165165
].freeze
166166

167167
mcp_sdk_clients = [
168+
{
169+
name: "streamable-mcp-sdk",
170+
adapter: :mcp_sdk,
171+
options: {
172+
name: "streamable-mcp-server",
173+
adapter: :mcp_sdk,
174+
transport_type: :streamable,
175+
config: {
176+
url: TestServerManager::HTTP_SERVER_URL
177+
},
178+
request_timeout: 10_000
179+
}
180+
},
168181
{
169182
name: "stdio-mcp-sdk",
170183
adapter: :mcp_sdk,
@@ -178,7 +191,10 @@
178191
args: [
179192
"spec/fixtures/typescript-mcp/index.ts",
180193
"--stdio"
181-
]
194+
],
195+
env: {
196+
"TEST_ENV" => "this_is_a_test"
197+
}
182198
}
183199
}
184200
}

0 commit comments

Comments
 (0)