ollama/server
Quinn Slack 62d29b2157 do not HTML-escape prompt
The `html/template` package automatically HTML-escapes interpolated strings in templates. This behavior is undesirable because it causes prompts like `<h1>hello` to be escaped to `&lt;h1&gt;hello` before being passed to the LLM.

The included test case passes, but before the code change, it failed:

```
--- FAIL: TestModelPrompt
    images_test.go:21: got "a&lt;h1&gt;b", want "a<h1>b"
```
2023-09-01 17:16:38 -05:00
..
auth.go loosen http status code checks 2023-08-28 18:34:53 -04:00
download.go loosen http status code checks 2023-08-28 18:34:53 -04:00
images.go do not HTML-escape prompt 2023-09-01 17:16:38 -05:00
images_test.go do not HTML-escape prompt 2023-09-01 17:16:38 -05:00
modelpath.go fix list models for windows 2023-08-31 09:47:10 -04:00
modelpath_test.go fix FROM instruction erroring when referring to a file 2023-08-22 09:39:42 -07:00
routes.go fix list models for windows 2023-08-31 09:47:10 -04:00
upload.go remove unused parameter 2023-08-28 18:35:18 -04:00