Skip to content

Question / Improve: Can't get tool response at onAgentToolResponse (React Native) #416

@elalekey

Description

@elalekey

Currently, every time the SDK (React Native) makes a request to our server and receives a response, we are unable to observe that server response within the SDK. This is especially useful if we want to embed additional elements in the chat beyond plain text. For example, at the moment we can only obtain the text spoken by the SDK, but if we manage other UI elements such as cards or other components that our server may return, there is no way to retrieve them except by querying ourselves (again) once onAgentToolResponse has returned "tool_called" as true. Is there any alternative, or could you add the tool response to this event?

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