For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

  1. Generate a ready-to-paste YAML snippet for your provider, showing all valid model names and deployment_name fields:

    /opt/dropzone/bin/ai-model-tool generate-config --provider openai
  2. Paste the snippet into /opt/dropzone/deploy/ai_provider_config.yaml and fill in your deployment names

  3. Validate that all model names are correct:

    /opt/dropzone/bin/ai-model-tool validate-config

    To also verify live connectivity (auth and deployments), add --check-connectivity:

    /opt/dropzone/bin/ai-model-tool validate-config --check-connectivity
  4. Fix any errors reported and repeat step 3 until you see:

    OK: config is valid.
  5. 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.

By default, validate-config checks model name spelling only. Add --check-connectivity to also probe each enabled model with a live API call, verifying auth and deployment reachability. This catches 401/403 (bad API key) and 404 (wrong deployment name or endpoint) errors 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 wrong deployment_name, per-model API key, or endpoint setting will never apply if the key does not match the catalog

  • Connectivity — 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-config to identify and fix the offending names before restarting

  • Authentication failure (401/403) — credentials are missing, incorrect, or do not have permission to access the model. Verify the API key in config.yml and your provider account permissions

  • Model or deployment not found (404) — a deployment_name in 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 the deployment_name values in ai_provider_config.yaml. Check ai-core logs to see which deployment(s) failed

In air-gapped or restricted-network environments where models are expected to be unreachable at startup, the server-level flag --skip-model-validation disables both name and connectivity checks. Contact our Customer Success team before using this flag.

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:

  1. Replace /opt/dropzone/deploy/ai_provider_config.yaml with a minimal working config:

  2. Run deploy-dropzone up — ai-core will start with this simple config

  3. Use ai-model-tool generate-config and validate-config to iteratively build your correct config while core is running

  4. Once validate-config passes cleanly, run deploy-dropzone up again to apply

Was this helpful?