overleaf/services/web/frontend/js/features/pdf-preview
Alf Eaton bee698c01d Updates to the AI error assistant (#19065)
* Only show the AI error assistant to users with write permission on the project
* Fix line number in searchDocLines
* Abort the request after 60 seconds
* Move comment
* Jump to file + line when suggestion line number is clicked
* Set tool_choice: 'required'
* Fix handling of suggestLineChange
* Tidy up getDocLines
* Avoid showing Suggest Fix button in gutter marker for typesetting warnings
* Log request errors
* Fix prefixed function name
* Update tool description
* Tweak the prompt in an attempt to improve the line number
* Reject if the total message content is too large
* Change the structure of the suggested change
* Reduce line highlight
* Fix change highlighting on deletion

GitOrigin-RevId: afde096e547050b8518195ef51b68983bc3b0be3
2024-06-24 12:05:51 +00:00
..
components Merge pull request #19030 from overleaf/dp-presentation-mode-flag 2024-06-24 12:04:34 +00:00
hooks Merge pull request #19006 from overleaf/dp-pdf-click 2024-06-24 12:03:06 +00:00
util Updates to the AI error assistant (#19065) 2024-06-24 12:05:51 +00:00