aKode fase 5: test e snapshot adeguati alla rinomina, 429 distinto (ProviderRateLimited), cargo fmt dopo il cambio dei prefissi
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -16,10 +16,6 @@ use std::sync::atomic::Ordering;
|
||||
use crate::McpConfig;
|
||||
use crate::mcp::McpPermissionPromptAutoApproveContext;
|
||||
use crate::mcp::mcp_permission_prompt_is_auto_approved;
|
||||
use anyhow::Context;
|
||||
use anyhow::Result;
|
||||
use anyhow::anyhow;
|
||||
use async_channel::Sender;
|
||||
use akode_protocol::approvals::ElicitationAbandonedEvent;
|
||||
use akode_protocol::approvals::ElicitationRequest;
|
||||
use akode_protocol::approvals::ElicitationRequestEvent;
|
||||
@@ -34,6 +30,10 @@ use akode_protocol::protocol::EventMsg;
|
||||
use akode_rmcp_client::Elicitation;
|
||||
use akode_rmcp_client::ElicitationResponse;
|
||||
use akode_rmcp_client::SendElicitation;
|
||||
use anyhow::Context;
|
||||
use anyhow::Result;
|
||||
use anyhow::anyhow;
|
||||
use async_channel::Sender;
|
||||
use futures::future::BoxFuture;
|
||||
use futures::future::FutureExt;
|
||||
use rmcp::model::ElicitationAction;
|
||||
@@ -45,7 +45,6 @@ static NEXT_ELICITATION_REQUEST_ID: AtomicU64 = AtomicU64::new(0);
|
||||
|
||||
const STRICT_AUTO_REVIEW_DECLINE_MESSAGE: &str = "Automated review of this operation failed. Do not proceed without asking the user for explicit approval.";
|
||||
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct ElicitationReviewRequest {
|
||||
pub server_name: String,
|
||||
|
||||
Reference in New Issue
Block a user