Managing AI Providers
Once Dropzone is running, you can add or update AI providers and models at any time. This page covers the recommended workflow for making changes, what validate-config checks, and how to recover if ai-core fails to start after a configuration change.
Adding or Updating Models
Generate a ready-to-paste YAML snippet for your provider, showing all valid model names and
deployment_namefields:/opt/dropzone/bin/ai-model-tool generate-config --provider openaiPaste the snippet into
/opt/dropzone/deploy/ai_provider_config.yamland fill in your deployment namesValidate that all model names are correct:
/opt/dropzone/bin/ai-model-tool validate-configTo also verify live connectivity (auth and deployments), add
--check-connectivity:/opt/dropzone/bin/ai-model-tool validate-config --check-connectivityFix any errors reported and repeat step 3 until you see:
OK: config is valid.Apply the changes:
/opt/dropzone/bin/deploy-dropzone up
No additional downtime is expected from this operation as long as validation passes before you restart.
What validate-config Checks
validate-config runs in two phases:
Model key names — checks every model name under
models:against the built-in catalog. A misspelled name silently breaks the override for that model: a wrongdeployment_name, per-model API key, or endpoint setting will never apply if the key does not match the catalogConnectivity — makes a test call to each enabled model using your configured credentials. Reports authentication failures (401/403) and model-or-deployment-not-found errors (404) per model
validate-config is your pre-flight check. ai-core also validates connectivity at startup, but catching failures before a restart avoids a restart cycle.
What Happens When ai-core Starts
ai-core runs both model name validation and connectivity probes on every startup — no flag is needed. It will intentionally exit if:
Any model name in the config does not match the built-in catalog
Any enabled model returns an authentication error (401/403) at startup
Any enabled model or deployment name is not found (404) at startup
All errors are collected and reported at once before the container exits. This is by design — a misconfigured provider that silently fails investigations is harder to diagnose than a container that exits with a clear error message. Check ai-core logs for the specific model and error:
Common log patterns to look for:
Invalid model key — a model name does not match the built-in catalog. Run
ai-model-tool validate-configto identify and fix the offending names before restartingAuthentication failure (401/403) — credentials are missing, incorrect, or do not have permission to access the model. Verify the API key in
config.ymland your provider account permissionsModel or deployment not found (404) — a
deployment_namein your config does not match any deployed model in your provider account. Check your provider console (e.g. Azure OpenAI Studio) to verify your deployment names and compare them against thedeployment_namevalues inai_provider_config.yaml. Checkai-corelogs to see which deployment(s) failed
Recovery: If ai-core Won't Start
If ai-core is failing to start and you need to get the stack running again quickly while you debug, revert to the minimal valid config:
Replace
/opt/dropzone/deploy/ai_provider_config.yamlwith a minimal working config:Run
deploy-dropzone up—ai-corewill start with this simple configUse
ai-model-tool generate-configandvalidate-configto iteratively build your correct config while core is runningOnce
validate-configpasses cleanly, rundeploy-dropzone upagain to apply
Was this helpful?