Skip to content

Volcengine Ark model fails during reconnect / recovery continuation because it does not support the coding plan feature #387

@wtry

Description

@wtry

Title

Volcengine Ark model fails during reconnect / recovery continuation because it does not support the coding plan feature

Environment

  • Jcode version: v0.29.0
  • OS: macOS
  • Architecture: aarch64
  • Provider: OpenAI-compatible
  • Endpoint: https://ark.cn-beijing.volces.com/api/coding/v3/chat/completions
  • Model: volcengine:ark-code-latest
  • Auth: ARK_API_KEY

Description

After the session reconnects successfully, Jcode attempts to continue a pending recovery directive. The continuation request fails with HTTP 404 from Volcengine Ark.

The provider error says:

The requested model does not support the coding plan feature.

It looks like Jcode sends a request that uses the coding plan feature during reconnect / recovery continuation, but the configured Ark model volcengine:ark-code-latest does not support that feature. Jcode then retries several times and eventually stops after reaching the auto-retry limit.

Steps to Reproduce

  1. Configure an OpenAI-compatible Volcengine Ark provider.
  2. Use model volcengine:ark-code-latest.
  3. Let a session disconnect or reload while a recovery directive is pending.
  4. Jcode reconnects successfully.
  5. Jcode tries to continue the pending recovery directive.
  6. The request fails with UnsupportedModel.
  7. Auto-retry reaches the limit and stops.

Actual Behavior

Jcode reconnects successfully, but recovery continuation fails repeatedly:

✓ Reconnected successfully.

Reload complete - continuing because a recovery directive was pending.

OpenAI-compatible chat request failed
  endpoint: https://ark.cn-beijing.volces.com/api/coding/v3/chat/completions
  model: volcengine:ark-code-latest
  auth: ARK_API_KEY
  status: 404 Not Found
  response: {"error":{"code":"UnsupportedModel","message":"The requested model does not support the coding plan feature. Please refer to the documentation at https://www.volcengine.com/docs/82379/1925114 to select a compatible model. Request id: 02178177399933089a6ab5dfd15f12fdf9b1912203a3c65809198","param":"","type":""}}
Hint: check network connectivity, DNS/TLS, that the base URL includes the API version (usually /v1), and that the model exists on the provider.

╭─────── ⚡ reconnecting ────────╮
│ Retrying · attempt 3/3 · in 6s │
│ Detail ⚠ Remote request failed │
╰────────────────────────────────╯

✓ Retrying continuation... (system message)

OpenAI-compatible chat request failed
  endpoint: https://ark.cn-beijing.volces.com/api/coding/v3/chat/completions
  model: volcengine:ark-code-latest
  auth: ARK_API_KEY
  status: 404 Not Found
  response: {"error":{"code":"UnsupportedModel","message":"The requested model does not support the coding plan feature. Please refer to the documentation at https://www.volcengine.com/docs/82379/1925114 to select a compatible model. Request id: 02178177400190989a6ab5dfd15f12fdf9b1912203a3c653785cd","param":"","type":""}}

✓ Retrying continuation... (system message)

OpenAI-compatible chat request failed
  endpoint: https://ark.cn-beijing.volces.com/api/coding/v3/chat/completions
  model: volcengine:ark-code-latest
  auth: ARK_API_KEY
  status: 404 Not Found
  response: {"error":{"code":"UnsupportedModel","message":"The requested model does not support the coding plan feature. Please refer to the documentation at https://www.volcengine.com/docs/82379/1925114 to select a compatible model. Request id: 02178177400654189a6ab5dfd15f12fdf9b1912203a3c6553bbba","param":"","type":""}}

✓ Retrying continuation... (system message)

OpenAI-compatible chat request failed
  endpoint: https://ark.cn-beijing.volces.com/api/coding/v3/chat/completions
  model: volcengine:ark-code-latest
  auth: ARK_API_KEY
  status: 404 Not Found
  response: {"error":{"code":"UnsupportedModel","message":"The requested model does not support the coding plan feature. Please refer to the documentation at https://www.volcengine.com/docs/82379/1925114 to select a compatible model. Request id: 02178177401319189a6ab5dfd15f12fdf9b1912203a3c658d037b","param":"","type":""}}

⚠ Remote request failed. Auto-retry limit reached after 3 attempts. Use `/poke` again to retry manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    autonomous: clearHands-off: unambiguous bug, obvious fix, no decisions. Don't even look - an agent can fully solve.bugSomething isn't workingpriority: mediumP2 - normal prioritytriage: reproducibleClear repro + clear fix path

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions