https://retellai.com/?utm_source=discord&utm_medium=seo logo
Simulation does not utilize test variables
# ❓・bug-report
d
Simulation - despite defining values for test variables such as customer name, phone number, and email, the simulation user makes up values or uses "[your name]" which then fails the tests.
o
Hello @digitalbar_74522 , I hope you doing fine I can't reproduce it Can you make a quick video or screenshot ,
d
o
Can you show me what is your prompt looks like for this section
d
Identity: Existing customer contacting support Goal: Replace my card over the phone. Personality: Neutral User says: "Can I read you my card number now?" You MUST identify yourself utilizing the exact values included in the dynamic variables detailed in this test scenario.
o
Hello @digitalbar_74522 , what agent type are you using ? and what llm ? and is this is the agent prompt for the simulation prompt , I'm asking about the agent prompt
d
Hi Omar. I am using a single-prompt agent with GPT4.o-mini. Here is my agent prompt.
Good morning Omar. Following up to see what the issue might be. Am I supposed to add the test customer's information into the test prompt?
o
In your prompt can you change Available Dynamic Variables into #context Contact Name: {{contact_name}} etc... and remove example and try to use 4.1 mini model and let me know
d
So just change the title from available dynamic variables to "context"
o
Change the LLM to 4.1 usually perform better , and remove the examples you have for the dynamic variable it may confuse the agent.
d
@Omar Ashraf | Community Lead I tried these changes and I'm still experiencing the same issues.
Omar - any other suggestions?
o
Can you share the agent id and this also happens in normal calls or just the simulations ?