Expand description
Startup validation for OpenCode agent references.
This module provides validation logic for checking that all opencode/*
agent references in configured agent chains are valid (i.e., the provider
and model exist in the OpenCode API catalog).
Validation errors include helpful suggestions for typos using Levenshtein distance matching.
Functionsยง
- get_
opencode_ refs - Get all OpenCode agent references from the fallback configuration.
- validate_
opencode_ agents - Validate all OpenCode agent references in the fallback configuration.