- 03 Jan, 2026 1 commit
-
-
lif authored
Signed-off-by:majiayu000 <1835304752@qq.com>
-
- 12 Dec, 2025 1 commit
-
-
Devon Rifkin authored
* docs: add docs for v1/responses and rework openai compat section I reworked the examples to be separated by topic and to be fully runnable (i.e., they now log output instead of just suggesting how a call might be made). We now use `<CodeGroup>`s so that each example has a dropdown on the docs site for users to choose, which makes the examples a lot more digestible (since you only see approx 1/3 of the code you used to). I also added a new tool to extract code examples into files so that it's easier to actually run them and check that they work. ## Example ```shell go run docs/tools/extract-examples/main.go docs/api/openai-compatibility.mdx ``` Output: ``` Extracting code examples to: /var/folders/vq/wfm2g6k917d3ldzpjdxc8ph00000gn/T/mdx-examples-3271754368 - 01_basic.py - 01_basic.js - 01_basic.sh - 02_responses.py - 02_responses.js - 02_responses.sh - 03_vision.py - 03_vision.js - 03_vision.sh Extracted 9 file(s) to /var/folders/vq/wfm2g6k917d3ldzpjdxc8ph00000gn/T/mdx-examples-3271754368 To run examples: cd /var/folders/vq/wfm2g6k917d3ldzpjdxc8ph00000gn/T/mdx-examples-3271754368 npm install # for JS examples then run individual files with `node file.js`, `python file.py`, `bash file.sh` ``` In the future we should consider actually running the examples in CI and having some sort of acceptance test so we can automatically detect when our examples break. So this is just a start in that direction. * Update docs/api/openai-compatibility.mdx Co-authored-by:
Parth Sareen <parth.sareen@ollama.com> * Update docs/api/openai-compatibility.mdx Co-authored-by:
Parth Sareen <parth.sareen@ollama.com> --------- Co-authored-by:
Parth Sareen <parth.sareen@ollama.com>
-
- 28 Oct, 2025 2 commits
-
-
Parth Sareen authored
-
Parth Sareen authored
-
- 28 Jul, 2025 1 commit
-
-
Yoshi authored
-
- 07 Feb, 2025 1 commit
-
-
Azis Alvriyanto authored
-
- 13 Dec, 2024 1 commit
-
-
Anuraag (Rag) Agrawal authored
* openai: return usage as final chunk for streams --------- Co-authored-by:ParthSareen <parth.sareen@ollama.com>
-
- 08 Dec, 2024 2 commits
-
-
Yannick Gloster authored
-
湛露先生 authored
-
- 06 Dec, 2024 1 commit
-
-
Parth Sareen authored
-
- 23 Oct, 2024 1 commit
-
-
Bill Wang authored
--------- Co-authored-by:Bill Wang <bill.wang@bill.wang>
-
- 25 Sep, 2024 1 commit
-
-
Jeffrey Morgan authored
-
- 10 Sep, 2024 1 commit
-
-
Jeffrey Morgan authored
-
- 29 Aug, 2024 1 commit
-
-
Patrick Devine authored
-
- 13 Aug, 2024 1 commit
-
-
Pamela Fox authored
-
- 02 Aug, 2024 2 commits
- 01 Aug, 2024 4 commits
-
-
Kim Hallberg authored
-
royjhan authored
* docs without usage * no usage * rm metric note
-
royjhan authored
-
royjhan authored
* OpenAI Docs * Update docs/openai.md Co-authored-by:
Jeffrey Morgan <jmorganca@gmail.com> * Remove newline --------- Co-authored-by:
Jeffrey Morgan <jmorganca@gmail.com>
-
- 26 Jul, 2024 1 commit
-
-
Jeffrey Morgan authored
-
- 25 Jul, 2024 2 commits
-
-
Jeffrey Morgan authored
-
royjhan authored
-
- 17 Jul, 2024 1 commit
-
-
royjhan authored
* add suffix * remove todo * remove TODO * add to test * rm outdated prompt tokens info md * fix test * fix test
-
- 02 Jul, 2024 1 commit
-
-
royjhan authored
* OpenAI v1 models * Refactor Writers * Add Test Co-Authored-By: Attila Kerekes * Credit Co-Author Co-Authored-By:
Attila Kerekes <439392+keriati@users.noreply.github.com> * Empty List Testing * Use Namespace for Ownedby * Update Test * Add back envconfig * v1/models docs * Use ModelName Parser * Test Names * Remove Docs * Clean Up * Test name Co-authored-by:
Jeffrey Morgan <jmorganca@gmail.com> * Add Middleware for Chat and List * Testing Cleanup * Test with Fatal * Add functionality to chat test * OpenAI: /v1/models/{model} compatibility (#5028) * Retrieve Model * OpenAI Delete Model * Retrieve Middleware * Remove Delete from Branch * Update Test * Middleware Test File * Function name * Cleanup * Test Update * Test Update --------- Co-authored-by:
Attila Kerekes <439392+keriati@users.noreply.github.com> Co-authored-by: Jeffrey Morgan <jmorgan...
-
- 28 Jun, 2024 1 commit
-
-
royjhan authored
-
- 14 Jun, 2024 1 commit
-
-
Jeffrey Morgan authored
-
- 03 May, 2024 1 commit
-
-
Dr Nic Williams authored
* Update 'llama2' -> 'llama3' in most places --------- Co-authored-by:Patrick Devine <patrick@infrahq.com>
-
- 26 Mar, 2024 1 commit
-
-
Patrick Devine authored
-
- 08 Feb, 2024 2 commits
-
-
Jeffrey Morgan authored
-
Jeffrey Morgan authored
-
- 07 Feb, 2024 3 commits
-
-
Jeffrey Morgan authored
-
Jeffrey Morgan authored
-
Jeffrey Morgan authored
-