Releases: ollama/ollama-js
Releases · ollama/ollama-js
v0.5.16
What's Changed
- feat: updated show response type to include capabilities by @macintushar in #222
- add thinking support and examples by @drifkin in #223
New Contributors
- @macintushar made their first contribution in #222
- @drifkin made their first contribution in #223
Full Changelog: v0.5.15...v0.5.16
v0.5.15
What's Changed
- Add missing response properties for
EmbedResponse
by @pouwerkerk in #215 - interfaces: relax enum for tool and allow multiple property types by @ParthSareen in #217
- interfaces: allow for $defs and items in Tool interface by @ParthSareen in #218
- fix(formatHost): support basic auth in host URL by @somprasongd in #219
New Contributors
- @pouwerkerk made their first contribution in #215
- @somprasongd made their first contribution in #219
Full Changelog: v0.5.14...v0.5.15
v0.5.14
What's Changed
- fix: Normalize header handling for all HeaderInit types by @AlexanderSlaa in #203
- workflows: update upload artifact job to v4 by @BruceMacD in #209
- Fallback for deprecated
window.navigator.platform
by @yoannmoinet in #208 - utils: handle userAgentData browser compatibility by @BruceMacD in #210
New Contributors
- @AlexanderSlaa made their first contribution in #203
- @yoannmoinet made their first contribution in #208
Full Changelog: v0.5.13...v0.5.14
v0.5.13
What's Changed
- Export
AbortableAsyncIterator
class as type by @AbdulrhmanGoni in #188 - docs: remove create example from README by @BruceMacD in #199
- refactor: put the default host in a variable and then reuse it by @AbdulrhmanGoni in #197
- ci: use older version of vite for node 16 compatibility by @BruceMacD in #200
- Fix: Use node: prefix for built-in modules by @iscordian in #201
- feat: add string model field to the ModelResponse interface by @hexnaught in #190
- fix: fix top await in examples by @ruixingshi in #206
New Contributors
- @AbdulrhmanGoni made their first contribution in #188
- @iscordian made their first contribution in #201
- @hexnaught made their first contribution in #190
- @ruixingshi made their first contribution in #206
Full Changelog: v0.5.12...v0.5.13
v0.5.12
What's Changed
- update create api for ollama v0.5.5 and deprecate create from files by @BruceMacD in #192
- Fixing docblock spacing by @cosmastech in #183
- docs: specify the format for keep_alive duration by @BruceMacD in #185
- refactor: replace jest with vitest by @lifeart in #173
- ci: update test runner for vitest by @BruceMacD in #186
New Contributors
- @cosmastech made their first contribution in #183
- @lifeart made their first contribution in #173
Full Changelog: v0.5.11...v0.5.12
v0.5.11
What's Changed
- Update tool example by @therealkenc in #169
- Add structured outputs support by @ParthSareen in #171
- Add Examples for structured outputs and tool use by @ParthSareen in #172
New Contributors
- @therealkenc made their first contribution in #169
Full Changelog: v0.5.10...v0.5.11
v0.5.10
What's Changed
- chore: small improvement to tool example by @mhdawson in #143
- Clarified aborting examples and readme by @ParthSareen in #157
- Custom Headers by @ParthSareen in #158
New Contributors
- @mhdawson made their first contribution in #143
- @ParthSareen made their first contribution in #157
Full Changelog: v0.5.9...v0.5.10
v0.5.9
What's Changed
- Updating documentation about aborting a streamed response by @Trismegiste in #139
- Added optional headers to Ollama initialisation by @ronneldavis in #138
New Contributors
- @Trismegiste made their first contribution in #139
- @ronneldavis made their first contribution in #138
Full Changelog: v0.5.8...v0.5.9
v0.5.8
What's Changed
- Revert "enable ollama-js use in an environment without whatwg" by @jmorganca in #133
Full Changelog: v0.5.7...v0.5.8
v0.5.7
What's Changed
- Fix host breaking when set to only port by @thinkverse in #116
- Update docs and examples to
llama3.1
by @jmorganca in #121 - Add
.github
and.prettierrc.json
to.npmignore
by @thinkverse in #120 - add tools to the chat api in the readme by @BruceMacD in #122
- enable ollama-js use in an environment without whatwg by @BruceMacD in #125
- Fix
catch
in abort examples by @hopperelec in #128
Full Changelog: v0.5.6...v0.5.7