Skip to content

Conversation Error: Conversation Error Code: MissingStyle Detail: Failed to get style #3384

@juanmichelini

Description

@juanmichelini

This error happened to Anthony Tomasic on CLI 1.16 + OpenHands SDK v1.21.0 and to me (@juanmichelini) on CLI 1.14.0 + OpenHands SDK v1.16.1

I'm creating an issue in the sdk repo because both errors appear on 24 hours, and at least mine have been working fine for a while with no updates.

Might be related to recent LiteLLM infra version upgrade.

Details:

Conversation Error: Conversation Error Code: MissingStyle Detail: Failed to get style ...

OpenHands CLI v1.14.0

Conversation Error
Code: MissingStyle

Detail:
Failed to get style 'project.scripts\\'; unable to parse 'project.scripts\\' as color; 'project.scripts\\' is not a valid color

When asking ot continue:

Conversation Error
Code: LLMBadRequestError

Detail:
litellm.BadRequestError: Error code: 400 - {'error': {'message': 'litellm.BadRequestError: AnthropicException - {"type":"error","error":{"type":"invalid_request_error","message":"messages.16: tool_use ids were found without tool_result blocks immediately after: toolu_012R3GbtRSThaobU7XqbowoZ, toolu_018hLw73c3nQWD3LWDyKeTnb. Each tool_use block must have a corresponding tool_result block in the next message."},"request_id":"req_011CbQRV6AxDDk9mnTuLkLkX"}No fallback model group found for original model_group=anthropic/claude-sonnet-4-5-20250929. Fallbacks=[{'minimax-m2.5': ['minimax-m2.5-api']}]. Received Model Group=anthropic/claude-sonnet-4-5-20250929\nAvailable Model Group Fallbacks=None\nError doing the fallback: litellm.BadRequestError: AnthropicException - {"type":"error","error":{"type":"invalid_request_error","message":"messages.16: tool_use ids were found without tool_result blocks immediately after: toolu_012R3GbtRSThaobU7XqbowoZ, toolu_018hLw73c3nQWD3LWDyKeTnb. Each tool_use block must have a corresponding tool_result block in the next message."},"request_id":"req_011CbQRV6AxDDk9mnTuLkLkX"}No fallback model group found for original model_group=anthropic/claude-sonnet-4-5-20250929. Fallbacks=[{'minimax-m2.5': ['minimax-m2.5-api']}] LiteLLM Retried: 3 times', 'type': None, 'param': None, 'code': '400'}}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions