AI Assistant links are not always relative to root when not absolute

Created on 7 January 2025, about 2 months ago

Problem/Motivation

The agents or RAG usually will always respond with links that are relative to root or absolute, since it might not have context of where it is on the site. In certain cases the AI rewrites this as relative links, but not to the root.

Steps to reproduce

Happens randomly, but if you ask the field agent to generate enough fields, at one time it will give back a faulty link that is not relative to root and you get a 404 when you click it.

Proposed resolution

Check the output the assistant messages in Deepchat, and if something is not relative to the root, but also not absolute add a slash to the beginning.

🐛 Bug report
Status

Active

Version

1.0

Component

Other Submodules

Created by

🇩🇪Germany marcus_johansson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024