Skip to content

Error for the follow-up question #28

@hramini

Description

@hramini

When the /api/chat/stream has the conversationId parameter, we face with error on getting tool_calls for tool role.

This is the response I'm getting from stream API:

event: message
data: {"role":"user","messageId":"678ee226-bdb0-45b3-921c-f7b6eee9c2fd","content":"Now give me list of tasks in Sandbox project"}

event: debug:error
data: {"message":"400 Invalid parameter: messages with role 'tool' must be a response to a preceeding message with 'tool_calls'."}

event: end
data: {"latestMessageId":"678ee226-bdb0-45b3-921c-f7b6eee9c2fd"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions