Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .agents/scripts/fallback-chain-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,10 @@ is_model_available() {
return 1
fi

# Unknown provider — assume available (AI will handle errors)
return 0
# Unknown provider — fail explicitly so resolve_chain skips to the next model
# rather than emitting a model string with no credential/health verification.
[[ "$quiet" != "true" ]] && print_warning "Unknown provider: $provider (no availability check available)" >&2
return 1
}

# Walk the tier's model list and return the first available model.
Expand Down
Loading