mirror of
https://github.com/openai/codex.git
synced 2026-09-14 11:57:03 +00:00
test(rmcp-client): fix rebased streamable http tests
This commit is contained in:
@@ -14,8 +14,8 @@ use futures::StreamExt;
|
||||
use futures::future::BoxFuture;
|
||||
use futures::stream::BoxStream;
|
||||
use oauth2::TokenResponse;
|
||||
use reqwest::header::ACCEPT;
|
||||
use reqwest::cookie::Jar;
|
||||
use reqwest::header::ACCEPT;
|
||||
use reqwest::header::AUTHORIZATION;
|
||||
use reqwest::header::CONTENT_TYPE;
|
||||
use reqwest::header::HeaderMap;
|
||||
|
||||
@@ -173,6 +173,7 @@ async fn streamable_http_client_replays_affinity_cookie_from_initialize_response
|
||||
Ok(ElicitationResponse {
|
||||
action: ElicitationAction::Accept,
|
||||
content: Some(json!({})),
|
||||
meta: None,
|
||||
})
|
||||
}
|
||||
.boxed()
|
||||
|
||||
@@ -77,6 +77,7 @@ async fn create_client(base_url: &str) -> anyhow::Result<RmcpClient> {
|
||||
None,
|
||||
None,
|
||||
OAuthCredentialsStoreMode::File,
|
||||
None,
|
||||
)
|
||||
.await?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user