anomalyco / anomalyco/opencode

Title Ox Alpha Free fails with "Endpoint is unavailable" when OpenCode uses tools

Open
#44,850 10 comments 2 reactions 1 assignee View on GitHub

@fwang is already working on this.

Since Aug 25, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

I am using OpenCode with the Ox Alpha Free model.
The model works for normal conversation, but when OpenCode tries to use a tool, the request fails with:
Error from provider (Console): Upstream request failed:
Endpoint is unavailable.
This happened while OpenCode was working on an NVGT project and attempted to execute a shell command:
& "C:\nvgt\nvgt.exe" -c server.nvgt 2>&1 | Select-Object
The problem is not an NVGT error. OpenCode does not receive the tool result because the Ox Alpha provider request itself fails with "Endpoint is unavailable."
Steps to reproduce
1.
Open OpenCode.
2.
Select Ox Alpha Free.
3.
Open a coding project.
4.
Ask the model to perform a task that requires a tool, such as running a shell command.
5.
Allow OpenCode to execute the tool.
6.
The request fails with Endpoint is unavailable.
Actual behavior
The tool call fails and OpenCode reports:
Error from provider (Console): Upstream request failed:
Endpoint is unavailable.
The model cannot receive the command output and therefore cannot continue the task.
Expected behavior
Ox Alpha Free should successfully handle the tool call and return the tool result to OpenCode so the model can continue working.
Additional information
This appears to happen specifically when Ox Alpha Free is used through OpenCode and a tool call is involved.
Normal model interaction can work, but tool execution fails with the upstream endpoint error.
I have retried the request, but the same error occurs.
Environment

OS: Windows 11

Client: OpenCode

Model: Ox Alpha Free

Tool: Shell / command execution

Project: NVGT game development
Error
Upstream request failed: Endpoint is unavailable.

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.