Files
imeai-aKode/codex-rs/app-server-protocol/schema/json/v2/ModelProviderListResponse.json
andrea.difonzo e39aae0085 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>
2026-11-11 02:11:45 +01:00

142 lines
3.1 KiB
JSON
Generated

{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"GatewayAuth": {
"oneOf": [
{
"properties": {
"mode": {
"enum": [
"none"
],
"title": "NoneGatewayAuthMode",
"type": "string"
}
},
"required": [
"mode"
],
"title": "NoneGatewayAuth",
"type": "object"
},
{
"properties": {
"envKey": {
"type": "string"
},
"mode": {
"enum": [
"environmentVariable"
],
"type": "string"
}
},
"required": [
"envKey",
"mode"
],
"type": "object"
},
{
"description": "Authentication is configured outside the gateway form. Preserve it on edits.",
"properties": {
"envKey": {
"type": [
"string",
"null"
]
},
"mode": {
"enum": [
"externallyConfigured"
],
"title": "ModeGatewayAuthMode",
"type": "string"
}
},
"required": [
"mode"
],
"title": "ModeGatewayAuth",
"type": "object"
}
]
},
"ModelProviderSummary": {
"properties": {
"baseUrl": {
"description": "Null when the endpoint is absent or cannot be safely displayed.",
"type": [
"string",
"null"
]
},
"canEdit": {
"description": "Whether a supported configuration field can be edited in the active user layer.",
"type": "boolean"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"settings": {
"$ref": "#/definitions/ProviderSettings"
}
},
"required": [
"canEdit",
"id",
"name",
"settings"
],
"type": "object"
},
"ProviderSettings": {
"oneOf": [
{
"properties": {
"auth": {
"$ref": "#/definitions/GatewayAuth"
},
"type": {
"enum": [
"customGateway"
],
"title": "CustomGatewayProviderSettingsType",
"type": "string"
}
},
"required": [
"auth",
"type"
],
"title": "CustomGatewayProviderSettings",
"type": "object"
}
]
}
},
"properties": {
"canChangeDefault": {
"type": "boolean"
},
"data": {
"items": {
"$ref": "#/definitions/ModelProviderSummary"
},
"type": "array"
},
"defaultProviderId": {
"type": "string"
}
},
"required": [
"canChangeDefault",
"data",
"defaultProviderId"
],
"title": "ModelProviderListResponse",
"type": "object"
}