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:
@@ -15,7 +15,6 @@ use crate::thread_manager::AgentTreeShutdownFailureReason;
|
||||
use crate::thread_manager::AgentTreeShutdownReport;
|
||||
use crate::thread_manager::ThreadIdGenerator;
|
||||
use crate::thread_manager::ThreadManagerState;
|
||||
use arc_swap::ArcSwapOption;
|
||||
use akode_extension_api::ThreadInstructionsProvider;
|
||||
use akode_protocol::AgentPath;
|
||||
use akode_protocol::ItemIdGenerator;
|
||||
@@ -27,6 +26,7 @@ use akode_protocol::error::Result as CodexResult;
|
||||
use akode_protocol::protocol::SessionSource;
|
||||
use akode_protocol::protocol::SubAgentSource;
|
||||
use akode_rollout_trace::ThreadTraceContext;
|
||||
use arc_swap::ArcSwapOption;
|
||||
use std::sync::Arc;
|
||||
use std::sync::Mutex;
|
||||
use std::sync::OnceLock;
|
||||
|
||||
@@ -35,7 +35,6 @@ use crate::session::step_context::StepContext;
|
||||
use crate::thread_manager::ForkSnapshot;
|
||||
use crate::thread_manager::StartThreadOptions;
|
||||
use crate::tools::handlers::multi_agents_common::thread_spawn_source;
|
||||
use assert_matches::assert_matches;
|
||||
use akode_extension_api::ExtensionDataInit;
|
||||
use akode_extension_api::Instructions;
|
||||
use akode_extension_api::LoadInstructionsFuture;
|
||||
@@ -110,6 +109,7 @@ use akode_thread_store::LocalThreadStoreConfig;
|
||||
use akode_thread_store::PersistContext;
|
||||
use akode_thread_store::ThreadStore;
|
||||
use akode_utils_path_uri::PathUri;
|
||||
use assert_matches::assert_matches;
|
||||
use core_test_support::responses::strip_response_item_ids;
|
||||
use pretty_assertions::assert_eq;
|
||||
use std::future::Future;
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
use crate::config::AgentRoleConfig;
|
||||
use crate::config::Config;
|
||||
use crate::config::deserialize_config_toml_with_base;
|
||||
use anyhow::anyhow;
|
||||
use akode_agent_roles::parse_agent_role_file_contents;
|
||||
use akode_config::SkillsConfig;
|
||||
use akode_config::loader::resolve_relative_paths_in_config_toml;
|
||||
@@ -19,6 +18,7 @@ use akode_protocol::config_types::ServiceTier;
|
||||
use akode_protocol::config_types::Verbosity;
|
||||
use akode_protocol::models::BaseInstructionsProvenance;
|
||||
use akode_protocol::openai_models::ReasoningEffort;
|
||||
use anyhow::anyhow;
|
||||
use serde::Serialize;
|
||||
use std::collections::BTreeMap;
|
||||
use std::collections::BTreeSet;
|
||||
|
||||
@@ -186,7 +186,7 @@ async fn apply_role_preserves_unspecified_keys() {
|
||||
TomlValue::String("base-model".to_string()),
|
||||
)])
|
||||
.await;
|
||||
config.codex_linux_sandbox_exe = Some(PathBuf::from("/tmp/codex-linux-sandbox"));
|
||||
config.codex_linux_sandbox_exe = Some(PathBuf::from("/tmp/akode-linux-sandbox"));
|
||||
let role_path = write_role_config(
|
||||
&home,
|
||||
"instructions-only.toml",
|
||||
@@ -221,7 +221,7 @@ async fn apply_role_preserves_unspecified_keys() {
|
||||
);
|
||||
assert_eq!(
|
||||
config.codex_linux_sandbox_exe,
|
||||
Some(PathBuf::from("/tmp/codex-linux-sandbox"))
|
||||
Some(PathBuf::from("/tmp/akode-linux-sandbox"))
|
||||
);
|
||||
assert_eq!(config.base_instructions, base_instructions);
|
||||
assert_eq!(config.base_instructions_provenance, provenance);
|
||||
|
||||
Reference in New Issue
Block a user