aKode fase 5: 429 con Retry-After/X-RateLimit-Reset e messaggi in italiano, filtro modelli nel primo avvio, correzioni della rinomina
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1906,7 +1906,7 @@ async fn reload_user_config_layer_refreshes_hooks() -> anyhow::Result<()> {
|
||||
.with_user_config(&config_toml_path, user_config.clone())
|
||||
.expect("hook user config should be valid"),
|
||||
),
|
||||
..codex_hooks::HooksConfig::default()
|
||||
..akode_hooks::HooksConfig::default()
|
||||
});
|
||||
assert_eq!(hook_list.hooks.len(), 1);
|
||||
assert_eq!(
|
||||
@@ -4083,7 +4083,7 @@ async fn fork_startup_context_then_first_turn_diff_snapshot() -> anyhow::Result<
|
||||
.expect("rollout path");
|
||||
|
||||
initial
|
||||
.akode
|
||||
.codex
|
||||
.start_or_steer_turn(ExternalTurnInputRequest::user_input(vec![
|
||||
UserInput::Text {
|
||||
text: "fork seed".into(),
|
||||
@@ -4096,7 +4096,7 @@ async fn fork_startup_context_then_first_turn_diff_snapshot() -> anyhow::Result<
|
||||
// before snapshotting from it.
|
||||
initial.codex.ensure_rollout_materialized().await;
|
||||
initial
|
||||
.akode
|
||||
.codex
|
||||
.flush_rollout()
|
||||
.await
|
||||
.expect("source rollout should flush before fork");
|
||||
@@ -4149,7 +4149,7 @@ async fn fork_startup_context_then_first_turn_diff_snapshot() -> anyhow::Result<
|
||||
settings.set_prepend_module_to_snapshot(false);
|
||||
settings.bind(|| {
|
||||
insta::assert_snapshot!(
|
||||
"codex_core__codex_tests__fork_startup_context_then_first_turn_diff",
|
||||
"akode_core__codex_tests__fork_startup_context_then_first_turn_diff",
|
||||
snapshot
|
||||
);
|
||||
});
|
||||
@@ -12953,7 +12953,7 @@ async fn session_start_hooks_only_load_from_trusted_project_layers() -> std::io:
|
||||
let hook_list = akode_hooks::list_hooks(akode_hooks::HooksConfig {
|
||||
feature_enabled: true,
|
||||
config_layer_stack: Some(config.config_layer_stack.clone()),
|
||||
..codex_hooks::HooksConfig::default()
|
||||
..akode_hooks::HooksConfig::default()
|
||||
});
|
||||
let expected_source_path = akode_utils_absolute_path::AbsolutePathBuf::from_absolute_path(
|
||||
nested_dot_codex.join("hooks.json"),
|
||||
@@ -13013,7 +13013,7 @@ async fn session_start_hooks_require_project_trust_without_config_toml() -> std:
|
||||
let hook_list = akode_hooks::list_hooks(akode_hooks::HooksConfig {
|
||||
feature_enabled: true,
|
||||
config_layer_stack: Some(config.config_layer_stack.clone()),
|
||||
..codex_hooks::HooksConfig::default()
|
||||
..akode_hooks::HooksConfig::default()
|
||||
});
|
||||
assert_eq!(
|
||||
hook_list.hooks.len(),
|
||||
|
||||
Reference in New Issue
Block a user