Expand description
GAP-005 (v1.0.82): Mapeamento de exit codes de subprocesso LLM para diagnósticos acionáveis.
Enums§
- LlmBackend
Error - Structured error for an LLM subprocess invocation that failed.
Constants§
- DIAG_
TAIL_ BYTES - Maximum number of bytes captured from each subprocess stream (stdout
and stderr) for the diagnostic tail. 1 KiB matches the limit used by
tracing::logmacros and keeps the JSON envelope under 4 KiB.
Statics§
- EXIT_
CODE_ HINTS - Tabela imutável de exit codes conhecidos para sugestões acionáveis.
Functions§
- diagnose_
exit_ code - Retorna diagnóstico acionável baseado no exit code.
- into_
legacy_ embedding - Converts an
LlmBackendErrorto a legacyAppError::Embedding(String)so call sites that still return the old shape keep compiling during the migration window. Once all call sites are migrated to returnLlmBackendErrordirectly, this helper can be deleted.