angle brackets in prompts not shown in UI and break other prompts

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • None
    • Affects Version/s: None
    • Component/s: translate5 AI

      Problem

      When a prompt is using angle brackets, they are no longer shown in the UI after saving the prompt in the prompt management. And when such a prompt is used on a language resource with RAG, no custom prompt at all will be sent to LLM.

      Steps to reproduce

      Create a prompt in the prompt management:
      "Words like <this> should be kept in angle brackets."

      Go tot an LLM resource which already uses some custom prompts and add the new one to it. 

      Translate a sample text in the test window and look at the "Raw data".

      No custom prompt is used at all.

      Solution

            Assignee:
            Aleksandar Mitrev
            Reporter:
            Sylvia Schumacher
            Axel Becher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: