pub fn validate_opencode_agents(
fallback: &FallbackConfig,
catalog: &ApiCatalog,
) -> Result<(), String>Expand description
Validate all OpenCode agent references in the fallback configuration.
This function checks that all opencode/provider/model references in the
configured agent chains have valid providers and models in the API catalog.
Returns Ok(()) if all references are valid, or Err(String) with a
user-friendly error message if any validation fails.