@ai-sdk/togetherai 1.0.37 → 1.0.39

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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # @ai-sdk/togetherai
2
2
 
3
+ ## 1.0.39
4
+
5
+ ### Patch Changes
6
+
7
+ - 5543cd1: Add AI Gateway hint to provider READMEs
8
+ - Updated dependencies [5543cd1]
9
+ - @ai-sdk/openai-compatible@1.0.36
10
+
11
+ ## 1.0.38
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [a27a978]
16
+ - @ai-sdk/provider-utils@3.0.23
17
+ - @ai-sdk/openai-compatible@1.0.35
18
+
3
19
  ## 1.0.37
4
20
 
5
21
  ### Patch Changes
@@ -303,7 +319,7 @@
303
319
 
304
320
  ```js
305
321
  await generateImage({
306
- model: luma.image('photon-flash-1', {
322
+ model: luma.image("photon-flash-1", {
307
323
  maxImagesPerCall: 5,
308
324
  pollIntervalMillis: 500,
309
325
  }),
@@ -316,7 +332,7 @@
316
332
 
317
333
  ```js
318
334
  await generateImage({
319
- model: luma.image('photon-flash-1'),
335
+ model: luma.image("photon-flash-1"),
320
336
  prompt,
321
337
  n: 10,
322
338
  maxImagesPerCall: 5,
@@ -741,7 +757,7 @@
741
757
 
742
758
  ```js
743
759
  await generateImage({
744
- model: luma.image('photon-flash-1', {
760
+ model: luma.image("photon-flash-1", {
745
761
  maxImagesPerCall: 5,
746
762
  pollIntervalMillis: 500,
747
763
  }),
@@ -754,7 +770,7 @@
754
770
 
755
771
  ```js
756
772
  await generateImage({
757
- model: luma.image('photon-flash-1'),
773
+ model: luma.image("photon-flash-1"),
758
774
  prompt,
759
775
  n: 10,
760
776
  maxImagesPerCall: 5,
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  The **[Together.ai provider](https://ai-sdk.dev/providers/ai-sdk-providers/togetherai)** for the [AI SDK](https://ai-sdk.dev/docs) contains language model support for the [Together.ai](https://together.ai) platform.
4
4
 
5
+ > **Deploying to Vercel?** With Vercel's AI Gateway you can access Together.ai (and hundreds of models from other providers) — no additional packages, API keys, or extra cost. [Get started with AI Gateway](https://vercel.com/ai-gateway).
6
+
5
7
  ## Setup
6
8
 
7
9
  The Together.ai provider is available in the `@ai-sdk/togetherai` module. You can install it with
package/dist/index.js CHANGED
@@ -18,13 +18,13 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
20
  // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
23
  VERSION: () => VERSION,
24
24
  createTogetherAI: () => createTogetherAI,
25
25
  togetherai: () => togetherai
26
26
  });
27
- module.exports = __toCommonJS(src_exports);
27
+ module.exports = __toCommonJS(index_exports);
28
28
 
29
29
  // src/togetherai-provider.ts
30
30
  var import_openai_compatible = require("@ai-sdk/openai-compatible");
@@ -113,7 +113,7 @@ var togetheraiErrorSchema = import_v4.z.object({
113
113
  });
114
114
 
115
115
  // src/version.ts
116
- var VERSION = true ? "1.0.37" : "0.0.0-test";
116
+ var VERSION = true ? "1.0.39" : "0.0.0-test";
117
117
 
118
118
  // src/togetherai-provider.ts
119
119
  function loadDeprecatedApiKey() {
package/dist/index.mjs CHANGED
@@ -98,7 +98,7 @@ var togetheraiErrorSchema = z.object({
98
98
  });
99
99
 
100
100
  // src/version.ts
101
- var VERSION = true ? "1.0.37" : "0.0.0-test";
101
+ var VERSION = true ? "1.0.39" : "0.0.0-test";
102
102
 
103
103
  // src/togetherai-provider.ts
104
104
  function loadDeprecatedApiKey() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/togetherai",
3
- "version": "1.0.37",
3
+ "version": "1.0.39",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -19,9 +19,9 @@
19
19
  }
20
20
  },
21
21
  "dependencies": {
22
- "@ai-sdk/openai-compatible": "1.0.34",
22
+ "@ai-sdk/openai-compatible": "1.0.36",
23
23
  "@ai-sdk/provider": "2.0.1",
24
- "@ai-sdk/provider-utils": "3.0.22"
24
+ "@ai-sdk/provider-utils": "3.0.23"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "20.17.24",
@@ -55,9 +55,7 @@
55
55
  "build": "pnpm clean && tsup --tsconfig tsconfig.build.json",
56
56
  "build:watch": "pnpm clean && tsup --watch",
57
57
  "clean": "del-cli dist *.tsbuildinfo",
58
- "lint": "eslint \"./**/*.ts*\"",
59
58
  "type-check": "tsc --build",
60
- "prettier-check": "prettier --check \"./**/*.ts*\"",
61
59
  "test": "pnpm test:node && pnpm test:edge",
62
60
  "test:update": "pnpm test:node -u",
63
61
  "test:watch": "vitest --config vitest.node.config.js",