Home / Function/ supports_image_tool_message() — langchain Function Reference

supports_image_tool_message() — langchain Function Reference

Architecture documentation for the supports_image_tool_message() function in chat_models.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  7dc536c8_a207_a83f_8f97_2b5092e39c42["supports_image_tool_message()"]
  93a85b25_a139_159d_bcf5_03a6e2ed4dd3["ChatModelTests"]
  7dc536c8_a207_a83f_8f97_2b5092e39c42 -->|defined in| 93a85b25_a139_159d_bcf5_03a6e2ed4dd3
  style 7dc536c8_a207_a83f_8f97_2b5092e39c42 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/standard-tests/langchain_tests/unit_tests/chat_models.py lines 204–210

    def supports_image_tool_message(self) -> bool:
        """Supports image `ToolMessage` objects.

        Whether the chat model supports `ToolMessage` objects that include image
        content.
        """
        return False

Domain

Subdomains

Frequently Asked Questions

What does supports_image_tool_message() do?
supports_image_tool_message() is a function in the langchain codebase, defined in libs/standard-tests/langchain_tests/unit_tests/chat_models.py.
Where is supports_image_tool_message() defined?
supports_image_tool_message() is defined in libs/standard-tests/langchain_tests/unit_tests/chat_models.py at line 204.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free