-
Notifications
You must be signed in to change notification settings - Fork 125
Open
Description
Hello.
Thank you for your fantastic work.
I am using custom backend (python SDK) and facing an issue where the sendCustomAction call results in error:
ChatKit: sendAction() ignored - no active thread.The code snippet:
await chatkit.sendCustomAction({
type: 'my_action_type',
payload: {
<my_payload_here>
},
})This does not happen after I send a message from the chatkit UI. I want to use the customAction so that agent is always sync with the UI state, which can potentially happen before the first user message.
Is the sendCustomAction before the user message not expected?
What is the best practice to sync the UI state to the agent context?
Metadata
Metadata
Assignees
Labels
No labels