Replace Regex matching for code blocks

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.10.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • Developer Tools

      Regex matching for code blocks in copilot responses is a bit convoluted and also requires that we buffer the entire code block before we can stream it. Since we're only ever matching on exact strings and not taking advantage of fancier regex functionality, we can replace the matching with a simpler algorithm that also processes the fragments as a stream with no buffering.

            Assignee:
            Nikola Irinchev
            Reporter:
            Nikola Irinchev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: