Skip to content

Generalize useAssistant to accept and send an assistantId to api #784

@mfts

Description

@mfts

Feature Description

Add assistantId to useAssistant

Use Case

I'm creating assistants on-demand and want to pass the assistantId into useAssistant, so it's sent to the the edge server along with threadId and message.

Furthermore, I want to add the assistantId to AssistantResponse because assistantId is created dynamically. Current implementation relies on assistantId coming from .env

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions