wooden-smartphone-55787
09/25/2025, 1:15 PMtall-airline-16756
09/25/2025, 1:15 PMtall-airline-16756
09/25/2025, 1:16 PMgenerate_reply function works depending on the model you’re using:
• Non-Realtime LLM Models: Here, the function thoughtfully combines the agent’s current instructions with the ones you provide, linking them with a newline character. This way, both sets of instructions work together smoothly.
• Realtime Models: In this case, the function sends only the instructions you pass directly to the server. Usually, the agent’s base instructions are set up during session initialization, so they aren’t combined again during the generate_reply call.
If anything feels unclear or if you have a particular scenario in mind, please don’t hesitate to reach out—I’m here to help!
Sources: livekit-plugins/livekit-plugins-google/livekit/plugins/google/beta/realtime... | plugins/openai/src/realtime/realtime_model.ts