Skip to content

Commit a94dc94

Browse files
committed
docs(rlsapi): add CLA example configuration
Provide an example configuration for RHEL Lightspeed Command Line Assistant (CLA) deployments using the rlsapi v1 /infer endpoint. The example includes: - Service and Llama Stack configuration - System prompt customization options (inline, file, profile module) - Red Hat Identity authentication setup - Authorization rules for rlsapi_v1_infer action Signed-off-by: Major Hayden <major@redhat.com>
1 parent f690b40 commit a94dc94

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: RHEL Lightspeed CLA Configuration Example
2+
# Example configuration for RHEL Lightspeed Command Line Assistant (CLA)
3+
# deployments using the rlsapi v1 /infer endpoint.
4+
#
5+
# The rlsapi v1 endpoint provides stateless inference without conversation
6+
# history or RAG. It is designed for the RHEL Lightspeed CLI tool.
7+
service:
8+
host: localhost
9+
port: 8080
10+
auth_enabled: true
11+
workers: 1
12+
color_log: true
13+
access_log: true
14+
llama_stack:
15+
use_as_library_client: false
16+
url: http://localhost:8321
17+
inference:
18+
# Configure the default model for rlsapi v1 inference
19+
# Provider ID must match the provider_id in your Llama Stack config
20+
default_provider: google-vertex
21+
default_model: gemini-2.5-flash
22+
23+
# Red Hat Identity authentication (typical for CLA deployments)
24+
authentication:
25+
module: "rh-identity"
26+
rh_identity_config:
27+
required_entitlements: ["rhel"]
28+
29+
# Authorization configuration for CLA
30+
# Grant rlsapi_v1_infer to all authenticated users
31+
authorization:
32+
access_rules:
33+
- role: "*"
34+
actions: ["info", "rlsapi_v1_infer"]
35+
# Optional: Add admin role for full access
36+
# - role: "admin"
37+
# actions: ["admin"]

0 commit comments

Comments
 (0)