Skip to main content

OpenCode

OpenCode is a local code indexing and autocomplete search assistant. Connect OpenCode to local GoingMerry endpoints to execute local codebase autocomplete and search prompts.


1. Local Server Setup

Ensure your local GoingMerry engine is active:

merry serve

2. Configuration Settings

GoingMerrys API layout maps directly to OpenCode connections. Edit your opencode.json configuration file:

{
"autocomplete": {
"engine": "merry",
"base_url": "http://localhost:11434",
"model": "gemma4"
}
}

Start the OpenCode search tool inside your terminal to enable local autocomplete suggestions.