Przejdź do treści

tenax ai add endpoint

tenax ai add endpoint

Add an OpenAI-compatible or Anthropic endpoint by URL

Synopsis

The API key stays in a Secret (key apiKey) in Tenax's namespace that the chart lists in ai.credentialSecrets.

tenax ai add endpoint <url> [flags]

Examples

  tenax ai add endpoint https://api.openai.com/v1 --model gpt-4.1-mini --secret tenax-ai-openai --serves fallback

Options

      --auth-header string   Authorization (default) or api-key (Azure OpenAI)
      --dry-run              print the AIProvider instead of creating it
      --features string      features and priorities, lower first, for example ask=1,backup-failure (with --serves features)
  -h, --help                 help for endpoint
      --json-mode string     schema (default), object or none
      --model string         the model the endpoint serves
      --name string          provider name (default: from the model or the host)
      --reason string        why (recorded on the provider)
      --secret string        Secret with the key apiKey (one of the chart's ai.credentialSecrets)
      --serves string        what the provider serves: all (every feature no provider names), features (only --features) or fallback (asked last, for every feature)
      --type string          openai (any OpenAI-compatible API) or anthropic (default "openai")

Options inherited from parent commands

      --lang string              language of this run's output, for example es or es_MX (over TENAX_LANG and the configured language)
  -o, --output string            output format: table, json or yaml (default "table")
      --tenax-namespace string   namespace Tenax runs in (default "tenax-system")

SEE ALSO

  • tenax ai add - Add a live AI provider: a model that runs in the cluster, or an endpoint