mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-16 05:20:22 +08:00
Foundation for providers v2. Add provider profiles and provider profile composition with user policies.
23 lines
661 B
YAML
23 lines
661 B
YAML
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
id: opencode
|
|
display_name: OpenCode
|
|
description: OpenCode-compatible inference provider
|
|
category: agent
|
|
inference_capable: true
|
|
credentials:
|
|
- name: api_key
|
|
description: OpenCode-compatible API key
|
|
env_vars: [OPENCODE_API_KEY, OPENROUTER_API_KEY, OPENAI_API_KEY]
|
|
required: true
|
|
auth_style: bearer
|
|
header_name: authorization
|
|
endpoints:
|
|
- host: api.openai.com
|
|
port: 443
|
|
protocol: rest
|
|
access: read-write
|
|
enforcement: enforce
|
|
binaries: [/usr/bin/opencode, /usr/local/bin/opencode]
|