summaryrefslogtreecommitdiffhomepage
path: root/opencode.json
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-06-14 14:32:45 -0400
committerDax Raad <[email protected]>2025-06-14 14:35:33 -0400
commit574d494c3c53f858b19b5adda31718dbb997d1ec (patch)
tree8942fc45440062f92119229f2be28e48d6ec582f /opencode.json
parent0239761f31cd754942b2540c905201b08a2bf7ff (diff)
downloadopencode-574d494c3c53f858b19b5adda31718dbb997d1ec.tar.gz
opencode-574d494c3c53f858b19b5adda31718dbb997d1ec.zip
Enhance provider system with dynamic package resolution and improved logging
- Add npm registry lookup for AI SDK packages with fallback support - Enhance error logging with cause information - Add timing deltas to log output for performance monitoring 🤖 Generated with [opencode](https://opencode.ai) Co-Authored-By: opencode <[email protected]>
Diffstat (limited to 'opencode.json')
-rw-r--r--opencode.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/opencode.json b/opencode.json
new file mode 100644
index 000000000..32eb572a2
--- /dev/null
+++ b/opencode.json
@@ -0,0 +1,16 @@
+{
+ "$schema": "https://opencode.ai/config.json",
+ "provider": {
+ "@openrouter/ai-sdk-provider": {
+ "name": "OpenRouter",
+ "options": {
+ "apiKey": "sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
+ },
+ "models": {
+ "anthropic/claude-3.5-sonnet": {
+ "name": "claude-3.5-sonnet"
+ }
+ }
+ }
+ }
+}