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

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