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:
andrea.difonzo
2026-11-11 11:41:54 +01:00
parent 86e7c72e5f
commit 8b73331037
130 changed files with 1204 additions and 410 deletions

View File

@@ -4,7 +4,7 @@ use akode_protocol::items::FunctionCallOutputItem;
/// Extract the task text from a delegated input, ignoring unrelated tool outputs.
pub fn delegated_output_preview(output: &FunctionCallOutputItem) -> Option<String> {
if !matches!(output.namespace.as_deref(), Some("codex_app" | "akode_tui"))
if !matches!(output.namespace.as_deref(), Some("codex_app" | "codex_tui"))
|| !matches!(
output.name.as_str(),
"create_thread" | "send_message_to_thread"

View File

@@ -16,7 +16,7 @@ fn delegated_previews_unwrap_only_recognized_inputs() {
Some("Check <main> & &lt;literal&gt;"),
),
(
Some("akode_tui"),
Some("codex_tui"),
"send_message_to_thread",
wrapped,
Some("Check <main> & &lt;literal&gt;"),
@@ -27,7 +27,7 @@ fn delegated_previews_unwrap_only_recognized_inputs() {
"plain &lt;text&gt;",
Some("plain &lt;text&gt;"),
),
(Some("akode_tui"), "create_thread", " ", None),
(Some("codex_tui"), "create_thread", " ", None),
(Some("other"), "create_thread", wrapped, None),
(None, "create_thread", wrapped, None),
(Some("codex_app"), "shell", wrapped, None),