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:
andrea.difonzo
2026-11-11 12:47:01 +01:00
parent 8b73331037
commit ad43f9281a
919 changed files with 2358 additions and 2430 deletions

View File

@@ -89,8 +89,8 @@ async fn non_utf8_cwd_preserves_approval_routing(
reviewer: ApprovalsReviewer,
decision: akode_extension_api::ApprovalDecision,
) -> anyhow::Result<()> {
use anyhow::Context;
use akode_extension_api::ApprovalDecision;
use anyhow::Context;
use std::os::unix::ffi::OsStringExt;
struct Contributor {

View File

@@ -53,9 +53,9 @@ use crate::session::step_context::StepContext;
use crate::session::turn_context::TurnEnvironment;
pub(crate) use crate::tools::code_mode::CodeModeExecuteHandler;
pub(crate) use crate::tools::code_mode::CodeModeWaitHandler;
pub use apply_patch::ApplyPatchHandler;
use akode_protocol::models::AdditionalPermissionProfile;
use akode_protocol::protocol::AskForApproval;
pub use apply_patch::ApplyPatchHandler;
pub use current_time::CurrentTimeHandler;
pub use dynamic::DynamicToolHandler;
pub use get_context_remaining::GetContextRemainingHandler;

View File

@@ -11,10 +11,6 @@ use crate::tools::registry::CoreToolRuntime;
use crate::tools::registry::ToolExecutor;
use crate::tools::registry::ToolRegistry;
use crate::tools::router::ToolRouter;
use bm25::Embedder;
use bm25::EmbedderBuilder;
use bm25::Language;
use bm25::Scorer;
use akode_prompts::ResolvedModelMessages;
use akode_tools::IndirectNamespacePrefixes;
use akode_tools::JsonToolOutput;
@@ -26,6 +22,10 @@ use akode_tools::ToolSearchEntry;
use akode_tools::ToolSearchInfo;
use akode_tools::ToolSpec;
use akode_tools::coalesce_loadable_tool_specs;
use bm25::Embedder;
use bm25::EmbedderBuilder;
use bm25::Language;
use bm25::Scorer;
use serde::Serialize;
use std::borrow::Cow;
use std::sync::Arc;

View File

@@ -27,9 +27,6 @@ mod user_messaging;
use std::borrow::Cow;
use crate::session::turn_context::TurnContext;
pub(crate) use approvals::ApprovalContext;
pub(crate) use approvals::ApprovalResolution;
pub(crate) use approvals::ApprovalResolutionSource;
use akode_features::Feature;
use akode_protocol::exec_output::ExecToolCallOutput;
use akode_protocol::openai_models::ModelInfo;
@@ -38,6 +35,9 @@ use akode_tools::ToolName;
use akode_utils_output_truncation::TruncationPolicy;
use akode_utils_output_truncation::formatted_truncate_text;
use akode_utils_output_truncation::truncate_text;
pub(crate) use approvals::ApprovalContext;
pub(crate) use approvals::ApprovalResolution;
pub(crate) use approvals::ApprovalResolutionSource;
pub(crate) use executed_tool_calls::ExecutedToolCalls;
pub use multi_agent_tool::MULTI_AGENT_V2_NAMESPACE_DESCRIPTION;
pub use router::ToolRouter;