aKode fase 3: provider locali, chiavi per provider, modelli dal server, SearXNG
- Provider: rimossi openai, Bedrock e GCP integrati e ogni fallback a OpenAI;
restano ollama, lmstudio e i provider personalizzati. Senza provider, exec e
TUI mostrano come configurarlo.
- Chiave per provider: api_key = "keyring", provider_api_key_store =
auto|keyring|file (fallback su file 0600 / ACL Windows); `codex login
--provider <id> --with-api-key`, `logout --provider`; login status e doctor
mostrano dove sta la chiave senza rivelarla.
- Modelli letti da GET {base_url}/models; contesto da config, poi dal server
(/props, meta.n_ctx), poi 32768; apply_patch come tool function; niente tool
ospitati; niente piu' avviso "metadata not found".
- Unione dei soli messaggi system/developer iniziali in un unico system;
quelli successivi restano al loro posto come user (cache del server
preservata: turno N prefisso esatto del turno N+1).
- Modelli ausiliari (memorie, guardian-v2) = modello di sessione se il
preferito gpt-* non e' nel catalogo.
- Ricerca web: crate web-tools, backend SearXNG con web_search e web_fetch
(protezione SSRF); senza backend nessuno strumento web.
- Skill: rimossa openai-docs; skill-installer punta a git.difonzo.net.
- apply_patch accetta gli header @@ -a,b +c,d @@ dei diff unificati.
- Rimossi resti: request_plugin_install, AppsInstructions, --cyber-access-program,
URL updater/realtime predefiniti.
- Fix: importazione sessioni con provider vuoto.
- Istruzioni di sistema invariate. Test: cancellati solo quelli del codice
rimosso, test di sicurezza adattati; restano solo fallimenti d'ambiente.
- Prova reale su imeAI + SearXNG: risposta, modifica file, web_search,
cache riusata, connessioni solo verso .25 e .57.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
source: core/tests/suite/scenarios.rs
|
||||
assertion_line: 4352
|
||||
assertion_line: 4349
|
||||
expression: "context_snapshot::format_labeled_requests_snapshot(\"First and final requests show generic plugin guidance and the complete append-only history. All ten intermediate model, wording, fallback, availability and resume states are asserted in the test.\",\n&[(\"Initial bundled guidance\", &requests[0]),\n(\"Final retained history\", &requests[9])],\n&ContextSnapshotOptions::default().include_request_settings(),)"
|
||||
---
|
||||
Scenario: First and final requests show generic plugin guidance and the complete append-only history. All ten intermediate model, wording, fallback, availability and resume states are asserted in the test.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
source: core/tests/suite/scenarios.rs
|
||||
assertion_line: 2431
|
||||
assertion_line: 2430
|
||||
expression: "context_snapshot::format_request_history_snapshot(scenario, &requests,\n&ContextSnapshotOptions::default().include_request_settings(),)"
|
||||
---
|
||||
Scenario: Catalog Code Mode instructions and wait parameter descriptions accompany a yielded cell through completion.
|
||||
|
||||
@@ -61,9 +61,8 @@ Settings:
|
||||
- `r1` = `<SKILLS_ROOT>`
|
||||
- `r2` = `<SKILLS_ROOT>/.system`
|
||||
### Available skills
|
||||
- openai-docs: API first-timers, Codex/Work Q&A. If the user already has an OpenAI API integration, skip...upplied text or data. (file: r2/openai-docs/SKILL.md) [hash=49bd51d04976968c]
|
||||
- skill-creator: Create or update a Codex skill with appropriately scoped instructions and any needed supporting resources. (file: r2/skill-creator/SKILL.md)
|
||||
- skill-installer: Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo pat...g private repos). (file: r2/skill-installer/SKILL.md) [hash=4e5268af6fd1d1cf]
|
||||
- skill-installer: Install aKode skills into $CODEX_HOME/skills from the default skills repository (the ...g private repos). (file: r2/skill-installer/SKILL.md) [hash=f6410540b4022853]
|
||||
- app-store-screenshots: App Store and Google Play screenshot creation with exact platform specs. Covers...ore listing (file: r1/app-store-screenshots/SKILL.md) [hash=bf12813c90883863]
|
||||
- assistant-ui: Overview and router for assistant-ui, the React library for building AI chat interfaces ...d by those siblings. (file: r1/assistant-ui/SKILL.md) [hash=28f6cc75921a4c0b]
|
||||
- browser-testing: Run browser tests for web applications. (file: r0/browser-testing/SKILL.md)
|
||||
@@ -219,9 +218,8 @@ Settings: same as window 1
|
||||
- `r1` = `<SKILLS_ROOT>`
|
||||
- `r2` = `<SKILLS_ROOT>/.system`
|
||||
### Available skills
|
||||
- openai-docs: API first-timers, Codex/Work Q&A. If the user already has an OpenAI API integration, skip...upplied text or data. (file: r2/openai-docs/SKILL.md) [hash=49bd51d04976968c]
|
||||
- skill-creator: Create or update a Codex skill with appropriately scoped instructions and any needed supporting resources. (file: r2/skill-creator/SKILL.md)
|
||||
- skill-installer: Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo pat...g private repos). (file: r2/skill-installer/SKILL.md) [hash=4e5268af6fd1d1cf]
|
||||
- skill-installer: Install aKode skills into $CODEX_HOME/skills from the default skills repository (the ...g private repos). (file: r2/skill-installer/SKILL.md) [hash=f6410540b4022853]
|
||||
- app-store-screenshots: App Store and Google Play screenshot creation with exact platform specs. Covers...ore listing (file: r1/app-store-screenshots/SKILL.md) [hash=bf12813c90883863]
|
||||
- assistant-ui: Overview and router for assistant-ui, the React library for building AI chat interfaces ...d by those siblings. (file: r1/assistant-ui/SKILL.md) [hash=28f6cc75921a4c0b]
|
||||
- code-review: Review code changes for correctness. (file: r0/code-review/SKILL.md)
|
||||
@@ -364,12 +362,12 @@ Settings: same as window 1
|
||||
- `r1` = `<SKILLS_ROOT>`
|
||||
- `r2` = `<SKILLS_ROOT>/.system`
|
||||
### Available skills
|
||||
- openai-docs: (file: r2/openai-docs/SKILL.md)
|
||||
- skill-creator: (file: r2/skill-creator/SKILL.md)
|
||||
- skill-installer: (file: r2/skill-installer/SKILL.md)
|
||||
- app-store-screenshots: (file: r1/app-store-screenshots/SKILL.md)
|
||||
- assistant-ui: (file: r1/assistant-ui/SKILL.md)
|
||||
- code-review: (file: r0/code-review/SKILL.md)
|
||||
- find-skills: (file: r1/find-skills/SKILL.md)
|
||||
</skills_instructions>
|
||||
[02] <permissions instructions>
|
||||
Filesystem sandboxing defines which files can be read or written. `sandbox_mode` is `danger-full-access`...ll commands are permitted. Network access is enabled. [hash=c134061cebb94a1b]
|
||||
@@ -517,12 +515,12 @@ Settings: same as window 1
|
||||
- `r1` = `<SKILLS_ROOT>`
|
||||
- `r2` = `<SKILLS_ROOT>/.system`
|
||||
### Available skills
|
||||
- openai-docs: (file: r2/openai-docs/SKILL.md)
|
||||
- skill-creator: (file: r2/skill-creator/SKILL.md)
|
||||
- skill-installer: (file: r2/skill-installer/SKILL.md)
|
||||
- app-store-screenshots: (file: r1/app-store-screenshots/SKILL.md)
|
||||
- assistant-ui: (file: r1/assistant-ui/SKILL.md)
|
||||
- documentation: (file: r0/documentation/SKILL.md)
|
||||
- find-skills: (file: r1/find-skills/SKILL.md)
|
||||
</skills_instructions>
|
||||
[02] <permissions instructions>
|
||||
Filesystem sandboxing defines which files can be read or written. `sandbox_mode` is `danger-full-access`...ll commands are permitted. Network access is enabled. [hash=c134061cebb94a1b]
|
||||
|
||||
@@ -102,22 +102,23 @@ Settings:
|
||||
</environment_context>
|
||||
07:message/user:
|
||||
Plan the release.
|
||||
08:configuration_update:reasoning={"effort":"low"}
|
||||
-- request 2 (turn; Unchanged policy A) --
|
||||
08:message/assistant:
|
||||
09:message/assistant:
|
||||
Plan ready.
|
||||
09:message/user:
|
||||
10:message/user:
|
||||
Check the plan.
|
||||
-- request 3 (turn; Policy B appends to existing history) --
|
||||
10:message/assistant:
|
||||
11:message/assistant:
|
||||
Plan checked.
|
||||
11:message/developer:
|
||||
12:message/developer:
|
||||
<scenario_instructions>scenario_prefix: B</scenario_instructions>
|
||||
12:message/user:
|
||||
13:message/user:
|
||||
Update the plan.
|
||||
-- request 4 (compaction; Compaction request) --
|
||||
13:message/assistant:
|
||||
14:message/assistant:
|
||||
Plan updated.
|
||||
14:message/user:
|
||||
15:message/user:
|
||||
You are performing a CONTEXT CHECKPOINT COMPACTION. Create a handoff summary for another LLM that will resume the task.
|
||||
|
||||
Include:
|
||||
|
||||
Reference in New Issue
Block a user