Skip to content

Commit 23a35fa

Browse files
authored
Chore: update @huggingface/inference to v4 and add featherless (huggingface#356)
chore: update @huggingface/inference to v4 and add featherless
1 parent 31c05d2 commit 23a35fa

File tree

3 files changed

+13
-14
lines changed

3 files changed

+13
-14
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"dependencies": {
7171
"@duckdb/node-api": "1.2.2-alpha.19",
7272
"@huggingface/hub": "~2.1.0",
73-
"@huggingface/inference": "~4.0.0",
73+
"@huggingface/inference": "~4.0.4",
7474
"@huggingface/tasks": "^0.19.5",
7575
"@huggingface/transformers": "^3.5.1",
7676
"@lancedb/lancedb": "^0.18.2",

pnpm-lock.yaml

Lines changed: 11 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/loaders/hub-models.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,7 @@ import {
1616
import { type Session, useServerSession } from '~/state';
1717

1818
// This list helps to exclude providers that are not supported by the endpoint
19-
const UNSUPPORTED_PROVIDERS = [
20-
'openai',
21-
'featherless-ai',
22-
'groq',
23-
'nscale',
24-
'ovhcloud',
25-
];
19+
const UNSUPPORTED_PROVIDERS = ['openai', 'groq', 'nscale', 'ovhcloud'];
2620

2721
const MODEL_EXPANDABLE_KEYS = [
2822
'author',

0 commit comments

Comments
 (0)