mirror of
https://github.com/docker/docker-agent.git
synced 2026-11-04 10:02:15 +00:00
opencode-go dropped deepseek-v4-flash (use deepseek-v4.1-flash) and nvidia dropped nemotron-3-super-120b-a12b (use nemotron-3.5-super-vl-120b-a12b).
27 lines
1015 B
YAML
27 lines
1015 B
YAML
# OpenCode Go — Practical Example
|
|
#
|
|
# Requirements:
|
|
# 1. Subscribe to OpenCode Go at https://opencode.ai/auth
|
|
# 2. Copy your API key and export it as an environment variable:
|
|
# export OPENCODE_API_KEY="your-api-key"
|
|
#
|
|
# Available models:
|
|
# OpenAI-compatible (/v1/chat/completions):
|
|
# deepseek-v4.1-flash, deepseek-v4-pro, kimi-k2.7-code, kimi-k2.6,
|
|
# glm-5.2, glm-5.1, mimo-v2.5, mimo-v2.5-pro
|
|
#
|
|
# Anthropic-compatible (/v1/messages) — requires a custom provider:
|
|
# minimax-m3, minimax-m2.7, qwen3.7-max, qwen3.7-plus, qwen3.6-plus
|
|
|
|
agents:
|
|
root:
|
|
model: opencode-go/deepseek-v4.1-flash
|
|
description: Go assistant for programming tasks
|
|
instruction: |
|
|
You are an expert programming assistant.
|
|
You help with code, debugging, code review, and software architecture.
|
|
commands:
|
|
code: Write clean, well-structured code for the user's request.
|
|
review: Review the provided code and suggest improvements.
|
|
debug: Help debug the described code issue.
|