Skip to content

ConvAI dashboard Dynamic Variables panel hides values for keys not in prompt #79

Description

@emitategh

Filing here as the closest public ElevenLabs frontend repo — couldn't find a public bug tracker for the ConvAI dashboard itself. Please redirect if there's a better channel.

Summary

The Dynamic Variables panel in the ConvAI agent settings UI only renders the Value cell for keys that are interpolated in the prompt template as {{var}}. Other keys stored in dynamic_variable_placeholders either don't appear in the panel or render with an empty Value cell, even though the values are present in the API response.

Repro

  1. PATCH a ConvAI agent to add a key to dynamic_variable_placeholders that is not referenced in the prompt template:
    "dynamic_variable_placeholders": {
      "var_in_prompt": "shown",
      "var_not_in_prompt": "not shown"
    }
  2. Open the agent's settings page in the dashboard.

Expected

Both keys render with their stored values in the Dynamic Variables panel.

Actual

  • var_in_prompt → value rendered.
  • var_not_in_prompt → not displayed (or displayed with an empty Value cell if a row was previously created via the UI).

Storage is fine — GET /v1/convai/agents/{id} returns the values correctly. The issue is display-only.

Suggested fix

Render the Value cell from dynamic_variable_placeholders[key] for every key stored there, not only keys interpolated in the prompt template.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions