Custom model compression exception #7291

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

Originally created by @comecny on GitHub (Jan 23, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

An error occurred when using a custom model for compaction.
Version: v1.1.31

litellm.UnsupportedParamsError: Bedrock doesn't support tool calling without tools= param specified. Pass tools= param OR set litellm.modify_params = True //
litellm_settings::modify_params: True to add dummy tool to the request.. Received Model Group=claude-sonnet-4-5
┃ Available Model Group Fallbacks=None

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @comecny on GitHub (Jan 23, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description An error occurred when using a custom model for compaction. Version: v1.1.31 litellm.UnsupportedParamsError: Bedrock doesn't support tool calling without `tools=` param specified. Pass `tools=` param OR set `litellm.modify_params = True` // ┃ `litellm_settings::modify_params: True` to add dummy tool to the request.. Received Model Group=claude-sonnet-4-5 ┃ Available Model Group Fallbacks=None ### Plugins _No response_ ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bugzen labels 2026-02-16 18:06:43 -05:00
Author
Owner

@8-unlimit commented on GitHub (Feb 9, 2026):

I have the same problem.

@8-unlimit commented on GitHub (Feb 9, 2026): I have the same problem.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7291