'State' Error: Property 'state' does not exist on ...
# 🤝help
b
Hi everyone, I'm just wondering if I can get some help with an issue I'm experiencing when trying to recreate the Darth Vader bot found here:

https://www.youtube.com/watch?v=8qAAnBWwu0o

. When I get to the 'execute code' part, the code displayed: ***workflow.transcript = event.state.session.history.map((a) => a.sender + ‘: ’ + a.preview).join(‘\n’) ***doesn't seem to work because there's an state error that says Property 'state' does not exist on type 'IncomingEvent'. Please could someone help me figure out how to resolve this error, thank you.
f
Hi can you include a screenshot? I haven’t seen that video
b
Hi, here's a screenshot of the code and being implemented in the video above. They start talking about this part in the video at 51:08 timestamp.

https://cdn.discordapp.com/attachments/1129187274681233580/1129769968985182329/Screenshot_2023-07-15_144142.png

c
Hi, I have the same issue. Was there a resolution to this?
Is the summary agent supposed to replace this approach?
2 Views