Closed bjhargrave closed 5 months ago
@bjhargrave that's my fault 👋 Introduced it with the formatting. Was trying to leave this file handling method generic. https://github.com/instructlab/instructlab-bot/blob/1a8b79e3f877c4d9030657d1d1bbbcbedbda0eea/worker/cmd/generate.go#L1052
The result of precheck is a page with .log and .yaml files.
However, the server response has
for both files. The .log file is text and the .yaml file is YAML.
The incorrect content type in the response causes the browser to report an error that the file is not valid JSON.