-
Notifications
You must be signed in to change notification settings - Fork 146
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hi every time i send a message to the bot i get the follwong issue logs within the bot dashboard - issue section:
Events
15
Event
Time
Data
2024-08-12 11:00:42
- 7 more
overrides
N/A
hookType
conversation_turn_before_reply
message
An error occured while executing an agent hook: Cannot read properties of undefined (reading 'startsWith')
hookContext
{
"messages": [
{
"id": "ff4e650d-84af-4cc5-b20f-167c19de593d",
"type": "text",
"direction": "outgoing",
"payload": {
"type": "text",
"text": "Thank you for using our service. Have a great day!",
"typing": true
},
"botId": "fd716950-6cdc-412f-8956-674a6fbe0615",
"createdOn": "2024-08-12T09:00:34.054Z",
"conversationId": "conv_01J51GHZE737QMM64SCYPR10QC",
"preview": "Thank you for using our service. Have a great day!",
"incomingEventId": "c12c9797-57c6-4023-9201-36f056d14477"
}
]
}
finalConfig
{
"active": true,
"personality": {
"valueType": "dynamic",
"dynamicValue": "You are an AI chatbot named Botworld Ai Assitent from Botworld. Your primary role is to provide accurate and direct responses using information from the knowledge base. You are efficient, concise, and ready to assist users with inquiries. When a relevant link is provided in the knowledge base, you include it in your response to offer additional information. You maintain a professional yet approachable demeanor, ensuring users feel supported and understood throughout their interactions.",
"staticValue": ""
}
}
normalConfig
{
"active": true,
"personality": {
"valueType": "dynamic",
"dynamicValue": "You are an AI chatbot named Botworld Ai Assitent from Botworld. Your primary role is to provide accurate and direct responses using information from the knowledge base. You are efficient, concise, and ready to assist users with inquiries. When a relevant link is provided in the knowledge base, you include it in your response to offer additional information. You maintain a professional yet approachable demeanor, ensuring users feel supported and understood throughout their interactions.",
"staticValue": ""
}
}
stack
ROOT [Running – 222ms]
├─┬ Workflow: Timeout [Done – 61ms]
│ ├─┬ Card: Timeout/On_Timeout/transition #1 [Done – 19ms]
│ │ └── Transition: true [Done – 17ms]
│ ├─┬ Card: Timeout/Handler/tmp-transition [Done – 1ms]
│ │ └── Transition: true [Done – 0ms]
│ └─┬ Card: Timeout/End/transition #1 [Done – 0ms]
│ └── Transition: true [Done – 0ms]
├─┬ Card: Conversation End/On_Explicit_Ending/transition #1 [Done – 0ms]
│ └── Transition: true [Done – 0ms]
├─┬ Card: Conversation End/Standard1/content #1 [Done – 62ms]
│ └── Agent: SummaryAgent/conversation_turn_action [Done – 41ms]
├─┬ Card: Conversation End/Standard1/tmp-transition [Done – 0ms]
│ └── Transition: true [Done – 0ms]
└─┬ Agent: PersonalityAgent/conversation_turn_before_reply [Running – 24ms]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
└── agents/PersonalityAgent/0.1 [Done – 1ms]
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working