-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.jsonc
More file actions
17 lines (17 loc) · 840 Bytes
/
Copy pathopencode.jsonc
File metadata and controls
17 lines (17 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
// OpenCode V2 plugin configuration.
"$schema": "https://opencode.ai/config.json",
"plugins": [{ "package": "@robertn702/opencode-jev-router", "options": {
// Jev classifier key. For a direct TypeSafe key, delete jevBaseUrl.
"jevApiKey": "{env:JEV_API_KEY}",
"jevBaseUrl": "https://ai-gateway.vercel.sh/typesafe",
// Wrap existing OpenCode models with API-key credentials.
"wrap": { "openai": ["openai/gpt-6-astra"] },
// Add "anthropic": ["anthropic/claude-opus-5-5"] for Messages.
// Optional: an absolute path for metadata-only JevDecision JSONL events.
// "decisionsLogPath": "/absolute/path/to/jev-decisions.jsonl"
}}],
// Use OPENAI_API_KEY or an API key from opencode auth login.
// If the catalog lacks Astra, add it under providers.openai.models.
"model": "jev-router/gpt-6-astra"
}