@ai-sdk/perplexity 4.0.0-beta.9 → 4.0.0-canary.36

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,239 @@
1
1
  # @ai-sdk/perplexity
2
2
 
3
+ ## 4.0.0-canary.36
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [5463d0d]
8
+ - @ai-sdk/provider-utils@5.0.0-canary.32
9
+ - @ai-sdk/provider@4.0.0-canary.16
10
+
11
+ ## 4.0.0-canary.35
12
+
13
+ ### Patch Changes
14
+
15
+ - 0c4c275: trigger initial canary release
16
+ - Updated dependencies [0c4c275]
17
+ - @ai-sdk/provider-utils@5.0.0-canary.31
18
+ - @ai-sdk/provider@4.0.0-canary.15
19
+
20
+ ## 4.0.0-beta.34
21
+
22
+ ### Major Changes
23
+
24
+ - 04e9009: chore: make provider implementations code patterns more consistent, including renaming certain exported symbols
25
+
26
+ For all externally exported symbols that were renamed, the old names continue to work via deprecated aliases.
27
+
28
+ ### Patch Changes
29
+
30
+ - Updated dependencies [08d2129]
31
+ - @ai-sdk/provider-utils@5.0.0-beta.30
32
+
33
+ ## 4.0.0-beta.33
34
+
35
+ ### Patch Changes
36
+
37
+ - 9bd6512: feat(provider): change file part data property to be tagged with a type and remove the image part type
38
+ - 258c093: chore: ensure consistent import handling and avoid import duplicates or cycles
39
+ - Updated dependencies [9bd6512]
40
+ - Updated dependencies [258c093]
41
+ - Updated dependencies [b6783da]
42
+ - @ai-sdk/provider-utils@5.0.0-beta.29
43
+ - @ai-sdk/provider@4.0.0-beta.14
44
+
45
+ ## 4.0.0-beta.32
46
+
47
+ ### Patch Changes
48
+
49
+ - 9f0e36c: trigger release for all packages after provenance setup
50
+ - Updated dependencies [9f0e36c]
51
+ - @ai-sdk/provider@4.0.0-beta.13
52
+ - @ai-sdk/provider-utils@5.0.0-beta.28
53
+
54
+ ## 4.0.0-beta.31
55
+
56
+ ### Patch Changes
57
+
58
+ - Updated dependencies [785fe16]
59
+ - Updated dependencies [67df0a0]
60
+ - Updated dependencies [befb78c]
61
+ - Updated dependencies [0458559]
62
+ - Updated dependencies [5852c0a]
63
+ - Updated dependencies [fc92055]
64
+ - @ai-sdk/provider-utils@5.0.0-beta.27
65
+
66
+ ## 4.0.0-beta.30
67
+
68
+ ### Patch Changes
69
+
70
+ - Updated dependencies [2e98477]
71
+ - @ai-sdk/provider-utils@5.0.0-beta.26
72
+
73
+ ## 4.0.0-beta.29
74
+
75
+ ### Patch Changes
76
+
77
+ - Updated dependencies [eea8d98]
78
+ - @ai-sdk/provider-utils@5.0.0-beta.25
79
+
80
+ ## 4.0.0-beta.28
81
+
82
+ ### Patch Changes
83
+
84
+ - Updated dependencies [f807e45]
85
+ - @ai-sdk/provider-utils@5.0.0-beta.24
86
+
87
+ ## 4.0.0-beta.27
88
+
89
+ ### Patch Changes
90
+
91
+ - Updated dependencies [350ea38]
92
+ - @ai-sdk/provider-utils@5.0.0-beta.23
93
+
94
+ ## 4.0.0-beta.26
95
+
96
+ ### Patch Changes
97
+
98
+ - Updated dependencies [083947b]
99
+ - @ai-sdk/provider-utils@5.0.0-beta.22
100
+
101
+ ## 4.0.0-beta.25
102
+
103
+ ### Patch Changes
104
+
105
+ - Updated dependencies [add1126]
106
+ - @ai-sdk/provider-utils@5.0.0-beta.21
107
+
108
+ ## 4.0.0-beta.24
109
+
110
+ ### Patch Changes
111
+
112
+ - b3976a2: Add workflow serialization support to all provider models.
113
+
114
+ **`@ai-sdk/provider-utils`:** New `serializeModel()` helper that extracts only serializable properties from a model instance, filtering out functions and objects containing functions. Third-party provider authors can use this to add workflow support to their own models.
115
+
116
+ **All providers:** `headers` is now optional in provider config types. This is non-breaking — existing code that passes `headers` continues to work. Custom provider implementations that construct model configs manually can now omit `headers`, which is useful when models are deserialized from a workflow step boundary where auth is provided separately.
117
+
118
+ All provider model classes now include `WORKFLOW_SERIALIZE` and `WORKFLOW_DESERIALIZE` static methods, enabling them to cross workflow step boundaries without serialization errors.
119
+
120
+ - Updated dependencies [b3976a2]
121
+ - Updated dependencies [ff5eba1]
122
+ - @ai-sdk/provider-utils@5.0.0-beta.20
123
+ - @ai-sdk/provider@4.0.0-beta.12
124
+
125
+ ## 4.0.0-beta.23
126
+
127
+ ### Major Changes
128
+
129
+ - ef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only (`"type": "module"`). Consumers using `require()` must switch to ESM `import` syntax.
130
+
131
+ ### Patch Changes
132
+
133
+ - Updated dependencies [ef992f8]
134
+ - @ai-sdk/provider@4.0.0-beta.11
135
+ - @ai-sdk/provider-utils@5.0.0-beta.19
136
+
137
+ ## 4.0.0-beta.22
138
+
139
+ ### Patch Changes
140
+
141
+ - Updated dependencies [90e2d8a]
142
+ - @ai-sdk/provider-utils@5.0.0-beta.18
143
+
144
+ ## 4.0.0-beta.21
145
+
146
+ ### Patch Changes
147
+
148
+ - Updated dependencies [3ae1786]
149
+ - @ai-sdk/provider-utils@5.0.0-beta.17
150
+
151
+ ## 4.0.0-beta.20
152
+
153
+ ### Patch Changes
154
+
155
+ - Updated dependencies [176466a]
156
+ - @ai-sdk/provider@4.0.0-beta.10
157
+ - @ai-sdk/provider-utils@5.0.0-beta.16
158
+
159
+ ## 4.0.0-beta.19
160
+
161
+ ### Patch Changes
162
+
163
+ - Updated dependencies [e311194]
164
+ - @ai-sdk/provider@4.0.0-beta.9
165
+ - @ai-sdk/provider-utils@5.0.0-beta.15
166
+
167
+ ## 4.0.0-beta.18
168
+
169
+ ### Patch Changes
170
+
171
+ - Updated dependencies [34bd95d]
172
+ - Updated dependencies [008271d]
173
+ - @ai-sdk/provider@4.0.0-beta.8
174
+ - @ai-sdk/provider-utils@5.0.0-beta.14
175
+
176
+ ## 4.0.0-beta.17
177
+
178
+ ### Patch Changes
179
+
180
+ - Updated dependencies [b0c2869]
181
+ - Updated dependencies [7e26e81]
182
+ - @ai-sdk/provider-utils@5.0.0-beta.13
183
+
184
+ ## 4.0.0-beta.16
185
+
186
+ ### Patch Changes
187
+
188
+ - Updated dependencies [46d1149]
189
+ - @ai-sdk/provider-utils@5.0.0-beta.12
190
+
191
+ ## 4.0.0-beta.15
192
+
193
+ ### Patch Changes
194
+
195
+ - Updated dependencies [6fd51c0]
196
+ - @ai-sdk/provider-utils@5.0.0-beta.11
197
+ - @ai-sdk/provider@4.0.0-beta.7
198
+
199
+ ## 4.0.0-beta.14
200
+
201
+ ### Patch Changes
202
+
203
+ - c29a26f: feat(provider): add support for provider references and uploading files as supported per provider
204
+ - Updated dependencies [c29a26f]
205
+ - @ai-sdk/provider-utils@5.0.0-beta.10
206
+ - @ai-sdk/provider@4.0.0-beta.6
207
+
208
+ ## 4.0.0-beta.13
209
+
210
+ ### Patch Changes
211
+
212
+ - 38fc777: Add AI Gateway hint to provider READMEs
213
+
214
+ ## 4.0.0-beta.12
215
+
216
+ ### Patch Changes
217
+
218
+ - Updated dependencies [2e17091]
219
+ - @ai-sdk/provider-utils@5.0.0-beta.9
220
+
221
+ ## 4.0.0-beta.11
222
+
223
+ ### Patch Changes
224
+
225
+ - Updated dependencies [986c6fd]
226
+ - Updated dependencies [493295c]
227
+ - @ai-sdk/provider-utils@5.0.0-beta.8
228
+
229
+ ## 4.0.0-beta.10
230
+
231
+ ### Patch Changes
232
+
233
+ - Updated dependencies [1f509d4]
234
+ - @ai-sdk/provider-utils@5.0.0-beta.7
235
+ - @ai-sdk/provider@4.0.0-beta.5
236
+
3
237
  ## 4.0.0-beta.9
4
238
 
5
239
  ### Patch Changes
package/README.md CHANGED
@@ -14,6 +14,8 @@ contains language model support for Perplexity's Sonar API - a powerful answer e
14
14
  - Data privacy - no training on customer data
15
15
  - Self-serve API access with scalable pricing
16
16
 
17
+ > **Deploying to Vercel?** With Vercel's AI Gateway you can access Perplexity (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).
18
+
17
19
  ## Setup
18
20
 
19
21
  The Perplexity provider is available in the `@ai-sdk/perplexity` module. You can install it with: