Model inspection turned every coded host error into a selected-target refusal, so EMFILE at open or EIO at header read on a valid model came back as target_unavailable with advice to check the path. Callers were told to reselect a model that was fine. Only codes that describe the selected path (missing, not a directory, symlink, name too long, non-regular, changed) keep that refusal, as the Go provider already does. Other host errors reach the existing execution_failure fallback with the path and reason. Fixes #6004
138 lines
4.6 KiB
TypeScript
138 lines
4.6 KiB
TypeScript