Runtime error when making gemini chat bot

Please someone help me. What is the wrong in here. :confused::sweat:

After start the app companion show a message that runtime error and chat bot not working. :sweat:

Please help me.



Thank you so much your time and consideration. :pray:

What is the runtime error that you observe?

undefined :relieved:

Also, I don't see you supplying an API Key in your blocks.

Using a piece of text like 'not found' as a default value poisons further evaluation in a deeply nested structure like you built. Respect the the enclosing dictionary block by suppying it with an empty dictionary, or a specially built dictionary with dummy entries.