Models from venice provider doesn't work #6615

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

Originally created by @ElderOrb on GitHub (Jan 17, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

Tried opus & glm 4.7 - both returning:

Bad Request: {"details":{"_errors":[],"messages":{"_errors":["Assistant messages must have either content or tool_calls"]}},"issues":[{"code":"custom", ┃ "message":"Assistant messages must have either content or tool_calls","path":["messages"]}]}

Plugins

oh-my-opencode

OpenCode version

1.1.25

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @ElderOrb on GitHub (Jan 17, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description Tried opus & glm 4.7 - both returning: Bad Request: {"details":{"_errors":[],"messages":{"_errors":["Assistant messages must have either content or tool_calls"]}},"issues":[{"code":"custom", ┃ "message":"Assistant messages must have either content or tool_calls","path":["messages"]}]} ### Plugins oh-my-opencode ### OpenCode version 1.1.25 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bug label 2026-02-16 18:04:46 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 17, 2026):

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

  • #7097: Custom Agent sending agent name in OpenAI Compatible request body (closed) - Venice provider experiences Bad Request errors with OpenAI-compatible payloads
  • #4255: OpenCode v1.0.25 Hangs Indefinitely with LM Studio + Qwen Models Due to Empty tool_calls Array - Related issue with empty tool_calls handling causing failures with OpenAI-compatible providers
  • #8246: Anthropic via LiteLLM/proxies rejects requests with tool history but no tools param (closed) - Similar issue with message format validation for OpenAI-compatible providers

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 17, 2026): This issue might be a duplicate of existing issues. Please check: - #7097: Custom Agent sending agent name in OpenAI Compatible request body (closed) - Venice provider experiences Bad Request errors with OpenAI-compatible payloads - #4255: OpenCode v1.0.25 Hangs Indefinitely with LM Studio + Qwen Models Due to Empty tool_calls Array - Related issue with empty tool_calls handling causing failures with OpenAI-compatible providers - #8246: Anthropic via LiteLLM/proxies rejects requests with tool history but no tools param (closed) - Similar issue with message format validation for OpenAI-compatible providers Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6615