ai-sdk-ollama 3.8.6 → 3.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/index.browser.cjs +9 -9
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.browser.d.cts +1 -1
- package/dist/index.browser.d.ts +1 -1
- package/dist/index.browser.js +9 -9
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +9 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9 -3
- package/dist/index.js.map +1 -1
- package/package.json +29 -29
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.8.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 40cf495: chore: update dependencies + migrate to vite 8
|
|
8
|
+
|
|
9
|
+
Minor/patch dependency refresh via npm-check-updates (--target minor, 3-day cooldown) — no major bumps. Forced vite ^8 and pinned turbo via pnpm override.
|
|
10
|
+
|
|
11
|
+
## 3.8.4
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 6f81c5d: Updated ai-sdk to v6.0.177
|
|
16
|
+
|
|
3
17
|
## 3.8.3
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/index.browser.cjs
CHANGED
|
@@ -1581,9 +1581,9 @@ function getLatestUserPromptText(prompt) {
|
|
|
1581
1581
|
}
|
|
1582
1582
|
var OllamaChatLanguageModel = class {
|
|
1583
1583
|
constructor(modelId, settings, config2) {
|
|
1584
|
-
this
|
|
1585
|
-
this
|
|
1586
|
-
this
|
|
1584
|
+
__publicField(this, "modelId", modelId);
|
|
1585
|
+
__publicField(this, "settings", settings);
|
|
1586
|
+
__publicField(this, "config", config2);
|
|
1587
1587
|
__publicField(this, "specificationVersion", "v3");
|
|
1588
1588
|
// V3 uses supportedUrls with media type patterns as keys
|
|
1589
1589
|
// Ollama supports images via URLs, files, and base64
|
|
@@ -2558,8 +2558,8 @@ var OllamaChatLanguageModel = class {
|
|
|
2558
2558
|
// src/models/embedding-model.ts
|
|
2559
2559
|
var OllamaEmbeddingModel = class {
|
|
2560
2560
|
constructor(modelId, settings, config2) {
|
|
2561
|
-
this
|
|
2562
|
-
this
|
|
2561
|
+
__publicField(this, "settings", settings);
|
|
2562
|
+
__publicField(this, "config", config2);
|
|
2563
2563
|
__publicField(this, "specificationVersion", "v3");
|
|
2564
2564
|
__publicField(this, "modelId");
|
|
2565
2565
|
__publicField(this, "maxEmbeddingsPerCall", 2048);
|
|
@@ -3221,7 +3221,7 @@ function $constructor(name, initializer3, params) {
|
|
|
3221
3221
|
Object.defineProperty(_, "name", { value: name });
|
|
3222
3222
|
return _;
|
|
3223
3223
|
}
|
|
3224
|
-
var $brand = Symbol("zod_brand");
|
|
3224
|
+
var $brand = /* @__PURE__ */ Symbol("zod_brand");
|
|
3225
3225
|
var $ZodAsyncError = class extends Error {
|
|
3226
3226
|
constructor() {
|
|
3227
3227
|
super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`);
|
|
@@ -12964,8 +12964,8 @@ function yo_default() {
|
|
|
12964
12964
|
|
|
12965
12965
|
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/registries.js
|
|
12966
12966
|
var _a2;
|
|
12967
|
-
var $output = Symbol("ZodOutput");
|
|
12968
|
-
var $input = Symbol("ZodInput");
|
|
12967
|
+
var $output = /* @__PURE__ */ Symbol("ZodOutput");
|
|
12968
|
+
var $input = /* @__PURE__ */ Symbol("ZodInput");
|
|
12969
12969
|
var $ZodRegistry = class {
|
|
12970
12970
|
constructor() {
|
|
12971
12971
|
this._map = /* @__PURE__ */ new WeakMap();
|
|
@@ -17407,7 +17407,7 @@ var ollamaImageProviderOptionsSchema = external_exports.object({
|
|
|
17407
17407
|
});
|
|
17408
17408
|
var OllamaImageModel = class {
|
|
17409
17409
|
constructor(modelId, config2) {
|
|
17410
|
-
this
|
|
17410
|
+
__publicField(this, "config", config2);
|
|
17411
17411
|
__publicField(this, "specificationVersion", "v3");
|
|
17412
17412
|
__publicField(this, "provider");
|
|
17413
17413
|
__publicField(this, "modelId");
|