Skip to content

BUG: ToolResponse doesn't show up in onMessage, messages, as well as toolStatusStore #388

@digital-Chairman

Description

@digital-Chairman

Hi,

Recently I discovered that ToolResponse message is not received with hume-react-sdk.

SDK version: v0.2.8

Expected behaviour:
When tool calling happens, onMessage event will trigger with ToolResponse, useVoice().messages will include ToolResponse, and toolStatusStore[toolID].resolved will not be null.

Actual behaviour:
Hume React will receive the toolCall message, but not the toolResponse message. In the dashboard, however, I can see the ToolResponse in Chat History, and based on my conversation with EVI, EVI did receive the message in the backend. This indicates that the socket in Hume React didn't process the ToolResponse message.

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