Skip to content

fix: Duo Chat ReAct agent prompt template

Alexander Chueshev requested to merge ac/fix-chat-agent-api-v2 into main

What does this merge request do and why?

This MR fixes the Duo Chat prompt template changing the Jinja2 variables to f-string variables.

How to set up and validate locally

The agent returns the correct tool answering, eg, What's the id of this issue instead of generating gibberish.

Merge request checklist

  • Tests added for new functionality. If not, please raise an issue to follow up.
  • Documentation added/updated, if needed.

Merge request reports