1. 08 May, 2025 1 commit
  2. 01 Apr, 2025 1 commit
  3. 12 Feb, 2024 1 commit
  4. 01 Feb, 2024 2 commits
  5. 30 Jan, 2024 1 commit
  6. 22 Dec, 2023 1 commit
  7. 13 Dec, 2023 1 commit
  8. 08 Dec, 2023 1 commit
  9. 05 Dec, 2023 2 commits
  10. 04 Dec, 2023 1 commit
    • Bruce MacDonald's avatar
      chat api (#991) · 7a0899d6
      Bruce MacDonald authored
      - update chat docs
      - add messages chat endpoint
      - remove deprecated context and template generate parameters from docs
      - context and template are still supported for the time being and will continue to work as expected
      - add partial response to chat history
      7a0899d6
  11. 16 Oct, 2023 1 commit
  12. 01 Sep, 2023 1 commit
    • Quinn Slack's avatar
      do not HTML-escape prompt · 62d29b21
      Quinn Slack authored
      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"
      ```
      62d29b21