millions-byte-98943
11/11/2025, 11:49 PMon_enter. It consistently generates the message in the wrong language or introduces itself with the wrong name. Any idea what I am doing wrong?
Here's the code gist: https://gist.github.com/vinodkumars/b595c3a8279593c06787ace223a59cd2lively-winter-88668
11/12/2025, 9:51 AMmillions-byte-98943
11/12/2025, 8:05 PMlively-winter-88668
11/13/2025, 9:00 AMdef __init__(self):
super().__init__(instructions="You are a helpful assistant. Your name is Alice. Talk in english.")
async def on_enter(self) -> None:
await self.update_instructions("You are a helpful assistant. Your name is Bob. Talk in english.")
What is the use case for changing the name during on_enter compared with the initial instructions?millions-byte-98943
11/14/2025, 6:51 PMmillions-byte-98943
11/14/2025, 6:54 PM