mirror of
https://github.com/openai/codex.git
synced 2026-04-30 09:26:44 +00:00
Bump rmcp to 0.15 (#11539)
https://github.com/modelcontextprotocol/rust-sdk/pull/598 in 0.14 broke some MCP oauth (like Linear) and https://github.com/modelcontextprotocol/rust-sdk/pull/641 fixed it in 0.15
This commit is contained in:
@@ -138,7 +138,14 @@ prefix_rule(
|
||||
.lock()
|
||||
.unwrap()
|
||||
.iter()
|
||||
.map(|r| r.message.clone())
|
||||
.map(|r| match r {
|
||||
rmcp::model::CreateElicitationRequestParams::FormElicitationParams {
|
||||
message, ..
|
||||
}
|
||||
| rmcp::model::CreateElicitationRequestParams::UrlElicitationParams {
|
||||
message, ..
|
||||
} => message.clone(),
|
||||
})
|
||||
.collect::<Vec<_>>();
|
||||
assert_eq!(vec![expected_elicitation_message], elicitation_messages);
|
||||
|
||||
|
||||
@@ -67,6 +67,7 @@ async fn list_tools() -> Result<()> {
|
||||
"type": "object",
|
||||
}))),
|
||||
output_schema: None,
|
||||
execution: None,
|
||||
annotations: None,
|
||||
icons: None,
|
||||
meta: None
|
||||
|
||||
Reference in New Issue
Block a user