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:
@@ -1,9 +1,9 @@
|
||||
#![allow(clippy::expect_used)]
|
||||
|
||||
use anyhow::Context as _;
|
||||
use anyhow::ensure;
|
||||
use akode_arg0::Arg0PathEntryGuard;
|
||||
use akode_utils_cargo_bin::CargoBinError;
|
||||
use anyhow::Context as _;
|
||||
use anyhow::ensure;
|
||||
use ctor::ctor;
|
||||
use std::sync::OnceLock;
|
||||
use tempfile::TempDir;
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
|
||||
use crate::test_codex::TestCodexBuilder;
|
||||
use crate::test_codex::test_codex;
|
||||
use anyhow::Result;
|
||||
use akode_config::types::AppToolApproval;
|
||||
use akode_core::config::Config;
|
||||
use akode_login::CodexAuth;
|
||||
use akode_models_manager::bundled_models_response;
|
||||
use akode_protocol::config_types::ApprovalsReviewer;
|
||||
use anyhow::Result;
|
||||
use serde_json::Value;
|
||||
use serde_json::json;
|
||||
use std::collections::VecDeque;
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
|
||||
use crate::exec_server::ExecServerProcess;
|
||||
use crate::is_remote_test_environment;
|
||||
use anyhow::Context;
|
||||
use akode_config::types::McpServerConfig;
|
||||
use akode_exec_server::HttpHeader;
|
||||
use akode_exec_server::HttpRequestParams;
|
||||
use akode_exec_server::HttpRequestResponse;
|
||||
use akode_exec_server::REMOTE_ENVIRONMENT_ID;
|
||||
use anyhow::Context;
|
||||
use futures::SinkExt;
|
||||
use futures::StreamExt;
|
||||
use serde_json::Value;
|
||||
|
||||
@@ -6,11 +6,11 @@ use std::sync::Arc;
|
||||
use std::sync::Mutex;
|
||||
use std::time::Duration;
|
||||
|
||||
use anyhow::Result;
|
||||
use base64::Engine;
|
||||
use akode_protocol::models::ContentItem;
|
||||
use akode_protocol::models::ResponseItem;
|
||||
use akode_protocol::openai_models::ModelsResponse;
|
||||
use anyhow::Result;
|
||||
use base64::Engine;
|
||||
use futures::SinkExt;
|
||||
use futures::StreamExt;
|
||||
use serde_json::Value;
|
||||
|
||||
@@ -12,9 +12,6 @@ use std::sync::atomic::AtomicUsize;
|
||||
use std::sync::atomic::Ordering;
|
||||
use std::time::Duration;
|
||||
|
||||
use anyhow::Context;
|
||||
use anyhow::Result;
|
||||
use anyhow::anyhow;
|
||||
use akode_agent_graph_store::AgentGraphStore;
|
||||
use akode_attachment_store::AttachmentStore;
|
||||
use akode_config::test_support::ManagedConfigFixture;
|
||||
@@ -77,6 +74,9 @@ use akode_utils_absolute_path::AbsolutePathBuf;
|
||||
use akode_utils_path_uri::LegacyAppPathString;
|
||||
use akode_utils_path_uri::PathConvention;
|
||||
use akode_utils_path_uri::PathUri;
|
||||
use anyhow::Context;
|
||||
use anyhow::Result;
|
||||
use anyhow::anyhow;
|
||||
use futures::future::BoxFuture;
|
||||
use serde_json::Value;
|
||||
use tempfile::TempDir;
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
use std::ffi::OsStr;
|
||||
|
||||
use anyhow::Result;
|
||||
use akode_utils_path_uri::LegacyAppPathString;
|
||||
use akode_utils_path_uri::PathConvention;
|
||||
use akode_utils_path_uri::PathUri;
|
||||
use anyhow::Result;
|
||||
|
||||
pub const TEST_ENVIRONMENT_ENV_VAR: &str = "AKODE_TEST_ENVIRONMENT";
|
||||
pub const LEGACY_REMOTE_ENV_ENV_VAR: &str = "AKODE_TEST_REMOTE_ENV";
|
||||
|
||||
Reference in New Issue
Block a user