The task was interrupted before it was completed #8390

Open
opened 2026-02-16 18:09:50 -05:00 by yindo · 1 comment
Owner

Originally created by @Mochazz on GitHub (Feb 2, 2026).

Originally assigned to: @thdxr on GitHub.

Description

When I enabled the API proxy function of Antigravity Tools, I connected the local service to opencode, allowing me to use the Claude model. However, I found that in opencode, answering each question would conclude the session. Often, the task is terminated before it is completed. Is there any way to solve this problem? I connected the API service of Antigravity Tools to the Claude code cli, and then this problem was resolved.

Plugins

No response

OpenCode version

0.0.0-dev-202602010641

Steps to reproduce

No response

Screenshot and/or share link

Image Image

Operating System

No response

Terminal

No response

Originally created by @Mochazz on GitHub (Feb 2, 2026). Originally assigned to: @thdxr on GitHub. ### Description When I enabled the API proxy function of Antigravity Tools, I connected the local service to opencode, allowing me to use the Claude model. However, I found that in opencode, answering each question would conclude the session. Often, the task is terminated before it is completed. Is there any way to solve this problem? I connected the API service of Antigravity Tools to the Claude code cli, and then this problem was resolved. ### Plugins _No response_ ### OpenCode version 0.0.0-dev-202602010641 ### Steps to reproduce _No response_ ### Screenshot and/or share link <img width="1441" height="774" alt="Image" src="https://github.com/user-attachments/assets/6765e96d-b885-443d-9f9f-ea02ca1e09f4" /> <img width="1448" height="893" alt="Image" src="https://github.com/user-attachments/assets/8e7e76ad-db98-4bc2-b4b0-3917aa35bae4" /> ### Operating System _No response_ ### Terminal _No response_
yindo added the bug label 2026-02-16 18:09:50 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 2, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #7793: [Feature Request] Support traditional Chat Completions API for OpenAI provider - Describes the exact compatibility issue between opencode's Responses API format and OpenAI-compatible proxies (including Antigravity Tools)
  • #10601: [FEATURE]: Use Responses api for providers that support it - Related feature request for better provider support
  • #9628: [FEATURE]: enable responses API in openai compatible provider - Another related feature discussing API format compatibility

The core issue appears to be that opencode uses OpenAI's new Responses API format, but most OpenAI-compatible proxies (like Antigravity Tools) only implement the traditional Chat Completions API, causing parsing failures and session interruptions.

Feel free to ignore if your specific case is different.

@github-actions[bot] commented on GitHub (Feb 2, 2026): This issue might be a duplicate of existing issues. Please check: - #7793: [Feature Request] Support traditional Chat Completions API for OpenAI provider - Describes the exact compatibility issue between opencode's Responses API format and OpenAI-compatible proxies (including Antigravity Tools) - #10601: [FEATURE]: Use Responses api for providers that support it - Related feature request for better provider support - #9628: [FEATURE]: enable responses API in openai compatible provider - Another related feature discussing API format compatibility The core issue appears to be that opencode uses OpenAI's new Responses API format, but most OpenAI-compatible proxies (like Antigravity Tools) only implement the traditional Chat Completions API, causing parsing failures and session interruptions. Feel free to ignore if your specific case is different.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8390