Skip to content

Commit 8bd2aca

Browse files
committed
Remove Kubernetes deployment section and update features list
- Removed unverified Kubernetes deployment configuration - Updated features to be more accurate and specific - Removed 'Kubernetes-ready' claim - Added TypeScript and error handling features
1 parent 124b8c9 commit 8bd2aca

File tree

1 file changed

+4
-56
lines changed

1 file changed

+4
-56
lines changed

README.md

Lines changed: 4 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -42,57 +42,6 @@ opencode serve
4242

4343
By default, OpenCode server runs on `http://localhost:4096`.
4444

45-
### Kubernetes Deployment
46-
47-
For production use in Kubernetes (where n8n is hosted):
48-
49-
```yaml
50-
apiVersion: apps/v1
51-
kind: Deployment
52-
metadata:
53-
name: opencode
54-
spec:
55-
replicas: 1
56-
selector:
57-
matchLabels:
58-
app: opencode
59-
template:
60-
metadata:
61-
labels:
62-
app: opencode
63-
spec:
64-
containers:
65-
- name: opencode
66-
image: opencode/opencode:latest
67-
args: ["serve"]
68-
ports:
69-
- containerPort: 4096
70-
env:
71-
- name: ANTHROPIC_API_KEY
72-
valueFrom:
73-
secretKeyRef:
74-
name: opencode-secrets
75-
key: anthropic-api-key
76-
- name: OPENAI_API_KEY
77-
valueFrom:
78-
secretKeyRef:
79-
name: opencode-secrets
80-
key: openai-api-key
81-
---
82-
apiVersion: v1
83-
kind: Service
84-
metadata:
85-
name: opencode-service
86-
spec:
87-
selector:
88-
app: opencode
89-
ports:
90-
- port: 4096
91-
targetPort: 4096
92-
```
93-
94-
Then configure the n8n node to use `http://opencode-service.default.svc.cluster.local:4096` as the base URL.
95-
9645
## Credentials
9746

9847
This node requires OpenCode API credentials:
@@ -175,12 +124,11 @@ The node supports models from these providers:
175124
## Features
176125

177126
- ✅ Full LangChain integration
178-
- ✅ Streaming responses
179-
- ✅ Multiple model providers
180-
- ✅ Session management
181-
- ✅ Kubernetes-ready
127+
- ✅ Multiple model providers (Anthropic, OpenAI, Google, Groq, Ollama)
128+
- ✅ Session management with automatic cleanup
182129
- ✅ Tool calling support (via OpenCode's native capabilities)
183-
- ✅ File attachment support (for code analysis)
130+
- ✅ Comprehensive error handling and validation
131+
- ✅ TypeScript support with full type definitions
184132

185133
## Troubleshooting
186134

0 commit comments

Comments
 (0)