name: fmapi-codingagent-validate-models description: Validate that the configured FMAPI model exists and is ready in the workspace user_invocable: true
FMAPI Validate Models
Validate that the configured model name exists as a serving endpoint in your Databricks workspace and is in a READY state.
Instructions
- Run the validate-models command:
setup-fmapi-codex validate-models
Present the output to the user. The command checks the configured model and reports:
- PASS — Endpoint exists and is READY
- WARN — Endpoint exists but is not in READY state
- FAIL — Endpoint not found in the workspace
- SKIP — Model not configured
If the model fails validation:
- The command exits with code 1
- Suggest running
$fmapi-codingagent-list-modelsto discover available endpoint names - Suggest re-running
$fmapi-codingagent-setupwith the correct model name
If the command fails before validation:
- No config found: suggest
$fmapi-codingagent-setupfirst - OAuth expired: suggest
$fmapi-codingagent-reauth
- No config found: suggest