In AI Agent Studio, agent is randomly adding nested HTML Anchor tags to URLs — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

In AI Agent Studio, agent is randomly adding nested HTML Anchor tags to URLs

Summary: I created a document tool that includes URLs. However, in the response, the agent is sometimes generating nested HTML anchor <a> tags for some URLs, which results in broken links. For example: <a href="..." target="_blank">here</a> unexpectedly becomes <a href="<a href="..." target="_blank">here</a>" target="_blank">here</a> due to which the URL link is coming with an extra " target="_blank">here. Is there any way to handle this scenario?

I have added below instructions in the Prompt

  • DO NOT nest two anchor tags
  • DO NOT generate URL of your own
  • NEVER nest two anchor tags in an URL

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!