@ai-sdk/huggingface 2.0.6 → 2.0.9

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,32 @@
1
1
  # @ai-sdk/huggingface
2
2
 
3
+ ## 2.0.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [4be62c1]
8
+ - Updated dependencies [7805e4a]
9
+ - Updated dependencies [cd12954]
10
+ - @ai-sdk/provider-utils@5.0.9
11
+ - @ai-sdk/openai-compatible@3.0.9
12
+
13
+ ## 2.0.8
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [e193290]
18
+ - @ai-sdk/provider-utils@5.0.8
19
+ - @ai-sdk/openai-compatible@3.0.8
20
+
21
+ ## 2.0.7
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [0f93c57]
26
+ - @ai-sdk/provider@4.0.3
27
+ - @ai-sdk/openai-compatible@3.0.7
28
+ - @ai-sdk/provider-utils@5.0.7
29
+
3
30
  ## 2.0.6
4
31
 
5
32
  ### Patch Changes
package/dist/index.js CHANGED
@@ -1006,7 +1006,7 @@ function createHuggingFace(options = {}) {
1006
1006
  var huggingFace = createHuggingFace();
1007
1007
 
1008
1008
  // src/version.ts
1009
- var VERSION = true ? "2.0.6" : "0.0.0-test";
1009
+ var VERSION = true ? "2.0.9" : "0.0.0-test";
1010
1010
  export {
1011
1011
  VERSION,
1012
1012
  createHuggingFace,
@@ -13,21 +13,7 @@ API keys can be obtained from [Hugging Face Settings](https://huggingface.co/set
13
13
 
14
14
  The Hugging Face provider is available via the `@ai-sdk/huggingface` module. You can install it with:
15
15
 
16
- <Tabs items={['pnpm', 'npm', 'yarn', 'bun']}>
17
- <Tab>
18
- <Snippet text="pnpm add @ai-sdk/huggingface" dark />
19
- </Tab>
20
- <Tab>
21
- <Snippet text="npm install @ai-sdk/huggingface" dark />
22
- </Tab>
23
- <Tab>
24
- <Snippet text="yarn add @ai-sdk/huggingface" dark />
25
- </Tab>
26
-
27
- <Tab>
28
- <Snippet text="bun add @ai-sdk/huggingface" dark />
29
- </Tab>
30
- </Tabs>
16
+ <InstallPackages packages="@ai-sdk/huggingface" />
31
17
 
32
18
  ## Provider Instance
33
19
 
@@ -219,21 +205,21 @@ You can also pass image URLs:
219
205
 
220
206
  ## Model Capabilities
221
207
 
222
- | Model | Image Input | Object Generation | Tool Usage | Tool Streaming |
223
- | ----------------------------------------------- | ------------------- | ------------------- | ------------------- | ------------------- |
224
- | `meta-llama/Llama-3.1-8B-Instruct` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
225
- | `meta-llama/Llama-3.1-70B-Instruct` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
226
- | `meta-llama/Llama-3.3-70B-Instruct` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
227
- | `meta-llama/Llama-4-Maverick-17B-128E-Instruct` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
228
- | `deepseek-ai/DeepSeek-V3.1` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
229
- | `deepseek-ai/DeepSeek-V3-0324` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
230
- | `deepseek-ai/DeepSeek-R1` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
231
- | `deepseek-ai/DeepSeek-R1-Distill-Llama-70B` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
232
- | `Qwen/Qwen3-32B` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
233
- | `Qwen/Qwen3-Coder-480B-A35B-Instruct` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
234
- | `Qwen/Qwen2.5-VL-7B-Instruct` | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
235
- | `google/gemma-3-27b-it` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
236
- | `moonshotai/Kimi-K2-Instruct` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
208
+ | Model | Image Input | Object Generation | Tool Usage | Tool Streaming |
209
+ | ----------------------------------------------- | ----------- | ----------------- | ---------- | -------------- |
210
+ | `meta-llama/Llama-3.1-8B-Instruct` | <Cross /> | <Check /> | <Check /> | <Check /> |
211
+ | `meta-llama/Llama-3.1-70B-Instruct` | <Cross /> | <Check /> | <Check /> | <Check /> |
212
+ | `meta-llama/Llama-3.3-70B-Instruct` | <Cross /> | <Check /> | <Check /> | <Check /> |
213
+ | `meta-llama/Llama-4-Maverick-17B-128E-Instruct` | <Cross /> | <Check /> | <Check /> | <Check /> |
214
+ | `deepseek-ai/DeepSeek-V3.1` | <Cross /> | <Check /> | <Check /> | <Check /> |
215
+ | `deepseek-ai/DeepSeek-V3-0324` | <Cross /> | <Check /> | <Check /> | <Check /> |
216
+ | `deepseek-ai/DeepSeek-R1` | <Cross /> | <Check /> | <Check /> | <Check /> |
217
+ | `deepseek-ai/DeepSeek-R1-Distill-Llama-70B` | <Cross /> | <Check /> | <Check /> | <Check /> |
218
+ | `Qwen/Qwen3-32B` | <Cross /> | <Check /> | <Check /> | <Check /> |
219
+ | `Qwen/Qwen3-Coder-480B-A35B-Instruct` | <Cross /> | <Check /> | <Check /> | <Check /> |
220
+ | `Qwen/Qwen2.5-VL-7B-Instruct` | <Check /> | <Check /> | <Check /> | <Check /> |
221
+ | `google/gemma-3-27b-it` | <Cross /> | <Check /> | <Check /> | <Check /> |
222
+ | `moonshotai/Kimi-K2-Instruct` | <Cross /> | <Check /> | <Check /> | <Check /> |
237
223
 
238
224
  <Note>
239
225
  The table above lists popular models. You can explore all available models on
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/huggingface",
3
- "version": "2.0.6",
3
+ "version": "2.0.9",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,
@@ -29,9 +29,9 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@ai-sdk/openai-compatible": "3.0.6",
33
- "@ai-sdk/provider": "4.0.2",
34
- "@ai-sdk/provider-utils": "5.0.6"
32
+ "@ai-sdk/openai-compatible": "3.0.9",
33
+ "@ai-sdk/provider": "4.0.3",
34
+ "@ai-sdk/provider-utils": "5.0.9"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "22.19.19",