@huggingface/tasks 0.12.17 → 0.12.18
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/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/src/local-apps.ts +2 -2
package/dist/index.cjs
CHANGED
|
@@ -7217,8 +7217,8 @@ var snippetLocalAI = (model, filepath) => {
|
|
|
7217
7217
|
var snippetVllm = (model) => {
|
|
7218
7218
|
const runCommand = [
|
|
7219
7219
|
"# Call the server using curl:",
|
|
7220
|
-
`curl -X POST "http://localhost:8000/v1/chat/completions"
|
|
7221
|
-
` -H "Content-Type: application/json"
|
|
7220
|
+
`curl -X POST "http://localhost:8000/v1/chat/completions" \\`,
|
|
7221
|
+
` -H "Content-Type: application/json" \\`,
|
|
7222
7222
|
` --data '{`,
|
|
7223
7223
|
` "model": "${model.id}",`,
|
|
7224
7224
|
` "messages": [`,
|
package/dist/index.js
CHANGED
|
@@ -7179,8 +7179,8 @@ var snippetLocalAI = (model, filepath) => {
|
|
|
7179
7179
|
var snippetVllm = (model) => {
|
|
7180
7180
|
const runCommand = [
|
|
7181
7181
|
"# Call the server using curl:",
|
|
7182
|
-
`curl -X POST "http://localhost:8000/v1/chat/completions"
|
|
7183
|
-
` -H "Content-Type: application/json"
|
|
7182
|
+
`curl -X POST "http://localhost:8000/v1/chat/completions" \\`,
|
|
7183
|
+
` -H "Content-Type: application/json" \\`,
|
|
7184
7184
|
` --data '{`,
|
|
7185
7185
|
` "model": "${model.id}",`,
|
|
7186
7186
|
` "messages": [`,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@huggingface/tasks",
|
|
3
3
|
"packageManager": "pnpm@8.10.5",
|
|
4
|
-
"version": "0.12.
|
|
4
|
+
"version": "0.12.18",
|
|
5
5
|
"description": "List of ML tasks for huggingface.co/tasks",
|
|
6
6
|
"repository": "https://github.com/huggingface/huggingface.js.git",
|
|
7
7
|
"publishConfig": {
|
package/src/local-apps.ts
CHANGED
|
@@ -145,8 +145,8 @@ const snippetLocalAI = (model: ModelData, filepath?: string): LocalAppSnippet[]
|
|
|
145
145
|
const snippetVllm = (model: ModelData): LocalAppSnippet[] => {
|
|
146
146
|
const runCommand = [
|
|
147
147
|
"# Call the server using curl:",
|
|
148
|
-
`curl -X POST "http://localhost:8000/v1/chat/completions"
|
|
149
|
-
` -H "Content-Type: application/json"
|
|
148
|
+
`curl -X POST "http://localhost:8000/v1/chat/completions" \\`,
|
|
149
|
+
` -H "Content-Type: application/json" \\`,
|
|
150
150
|
` --data '{`,
|
|
151
151
|
` "model": "${model.id}",`,
|
|
152
152
|
` "messages": [`,
|