Skip to content

Tags: ollama/ollama-js

Tags

v0.5.16

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #223 from ollama/drifkin/thinking-support

add thinking support and examples

v0.5.15

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(formatHost): support basic auth in host URL (#219)

v0.5.14

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
utils: handle userAgentData browser compatibility (#210)

Use runtime checks and minimal type assertion to safely handle the
userAgentData API which is not yet widely supported across browsers.
This maintains TypeScript type safety while ensuring the platform
detection works in both modern and legacy browsers.

v0.5.13

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
examples: add top-level await in examples (#206)

v0.5.12

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
update create api for v0.5.5 and deprecate create from files (#192)

Add new create API structure, remove broken file streaming logic

- Updates CreateRequest interface with new fields
- Removes broken logic for streaming model creation from local files
- Previous implementation did not properly handle file streams
- Model creation from files should be handled by separate PR
- Updates documentation and types to reflect new API structure

v0.5.11

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add examples for structured outputs and tool use (#172)


---------

Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>

v0.5.10

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Custom Headers (#158)

* Allow users to pass custom headers

Co-authored-by: Naveen <78990165+gnpaone@users.noreply.github.com>

Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>

v0.5.9

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added optional headers to Ollama initialisation (#138)

v0.5.8

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #133 from ollama/revert-125-brucemacd/what-wg-dynamic

Revert "enable ollama-js use in an environment without whatwg"

v0.5.7

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed `catch` in abort examples (#128)