Skip to content

BUG: Don't know how to handle content type <class 'chatlas._content.ContentToolResult'> #269

Description

@anbarasanv

I have been trying to explore query chat.

I found the below bug consistently:

AI Provider used:

from chatlas import ChatOpenAICompletions

Every time when I try to make a second query after the first query on the chat, I'm getting the below error:

Sorry, I encountered an error processing your request: Don't know how to handle content type <class 'chatlas._content.ContentToolResult'> for role='assistant'.

I have attached the chat conversation and files for the reproducing the bug.

please let me know if any other information required.

app.py
client.py

query-chat-bug.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions