Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions openhands/sdk/llm/message.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from collections.abc import Sequence
from typing import Any, Literal, cast

import mcp.types
from litellm import ChatCompletionMessageToolCall
from litellm.types.utils import Message as LiteLLMMessage
from pydantic import BaseModel, ConfigDict, Field, field_validator
Expand All @@ -23,7 +22,7 @@ def to_llm_dict(
raise NotImplementedError("Subclasses should implement this method.")


class TextContent(mcp.types.TextContent, BaseContent):
class TextContent(BaseContent):
type: Literal["text"] = "text"
text: str
# We use populate_by_name since mcp.types.TextContent
Expand Down
Loading