Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 503 Bytes

File metadata and controls

22 lines (14 loc) · 503 Bytes

Using OpenCode with SoxAI

Use SoxAI as the API backend for OpenCode.

Setup

1. Get your SoxAI API key

Sign up at console.soxai.io (free $5 credit, no card required).

2. Configure OpenCode

export OPENAI_BASE_URL="https://api.soxai.io/v1"
export OPENAI_API_KEY="sox-your-key-here"

3. Use OpenCode normally

opencode "add error handling to this function"