How can I adjust the following prompt so I get a more precise and working feedback from…
- User
How can I adjust the following prompt so I get a more precise and working feedback from llm?
"Okay listen I have a problem in logic that creates multiple pdf files at once and afterwards displays them as inline pdf preview in browser and provides them for download. The process displays a progress bar. But when I handle multiple files >100 it results in a blank page when the progress bar is finished… after some time the preview arises. I figured out that chunked_document_save() is within the progress bar context and handles multiple chunks before the progress bar disappears. Afterwards the FormletterPrintPdf→render() function is called which eventually calls the setupMultiple function that I think is responsible for the blank page displayed. At this time the progress bar is not displayed anymore therefore resulting in the blank page that processes the concat, but this need to either be improved or somehow moved into the progress bar process context. I'll provide you the files that handle all the logic and contain the mentioned functions. Please review/look at them before you answer the goal is to have better perfomance and functional logic in terms of all loading/bloating processes are within the progress bar context. (user should not see blank page without feedback) — another possible approach would be to not generate when preview is loaded - instead only bundle the files once and provide or/and generate on download. You decide what suits best for the current code structure, here is the chunked_document_save along with any other relevant file handling the whole logic:"
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.