onglx-deploy add

Add components to deployment

Core Command
Components

Description

Add inference APIs or UI components to your deployment configuration. This command supports adding both API components (OpenAI-compatible endpoints) and UI components (web interfaces) to your existing deployment.

Syntax

onglx-deploy add inference [flags]

Examples

Add API component

Terminal - OnglX Deploy
$ onglx-deploy add inference --component api --type openai
✓ Added api/openai component
✓ Model: anthropic.claude-3-5-sonnet-20241022-v2:0

Add UI component

Terminal - OnglX Deploy
$ onglx-deploy add inference --component ui --type openwebui --size small
✓ Added ui/openwebui component
✓ Size: small

Custom model configuration

Terminal - OnglX Deploy
$ onglx-deploy add inference --component api --type openai \
--model anthropic.claude-3-haiku-20240307-v1:0
✓ Added api/openai component
✓ Model: anthropic.claude-3-haiku-20240307-v1:0

After adding components:

  • • Review your changes: onglx-deploy plan
  • • Deploy the components: onglx-deploy deploy