Rag promt: UI error on loading multiple prompts

XMLWordPrintable

    • Critical
    • None
    • Hide
      7.36.1: prevent additional UI error
      7.36.0: Fix for a problem where UI error was triggered if the user loads a lot of prompts for RAG.
      Show
      7.36.1: prevent additional UI error 7.36.0: Fix for a problem where UI error was triggered if the user loads a lot of prompts for RAG.
    • None

      Problem

      UI error pop-up when multiple prompts are selected to be loaded in RAG window. In the specific case and reproduced locally the number of prompts was 20 and each has 10 examples. The UI error only will be triggered if you try to scroll the prompt window while the selected prompts are still loading.

        the short crash chain is:

        - multiple RAG prompts are added
        - each prompt creates its own local view-model stores
        - scrolling causes more attach/rebind while that load is still in progress
        - the controller was wired to global store events
        - one widget handled another widget’s store event
        - its own local store was null at that moment
        - crash

      Solution

      Prevent UI to crash with multiple prompts loaded.

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

              Created:
              Updated:
              Resolved:
              None
              None