mirror of
https://github.com/openai/codex.git
synced 2026-04-30 03:12:20 +03:00
fix
This commit is contained in:
@@ -391,13 +391,13 @@ impl McpProcess {
|
||||
self.send_request("review/start", params).await
|
||||
}
|
||||
|
||||
/// Send a `compact/start` JSON-RPC request (v2).
|
||||
/// Send a `thread/compact` JSON-RPC request (v2).
|
||||
pub async fn send_compact_start_request(
|
||||
&mut self,
|
||||
params: CompactStartParams,
|
||||
) -> anyhow::Result<i64> {
|
||||
let params = Some(serde_json::to_value(params)?);
|
||||
self.send_request("compact/start", params).await
|
||||
self.send_request("thread/compact", params).await
|
||||
}
|
||||
|
||||
/// Send a `cancelLoginChatGpt` JSON-RPC request.
|
||||
|
||||
Reference in New Issue
Block a user