Skip to content

Commit 2038f0a

Browse files
committed
added token to the js download method
1 parent 9d7f78e commit 2038f0a

File tree

1 file changed

+1
-1
lines changed
  • articles/ai-foundry/foundry-local/includes/sdk-reference

1 file changed

+1
-1
lines changed

articles/ai-foundry/foundry-local/includes/sdk-reference/javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Available options:
6767

6868
| Method | Signature | Description |
6969
|-------------------------------|---------------------------------------------------------------------------|--------------------------------------------------|
70-
| `downloadModel()` | `(aliasOrModelId: string, force = false, onProgress?) => Promise<FoundryModelInfo>` | Downloads a model to the local cache. |
70+
| `downloadModel()` | `(aliasOrModelId: string, token?: string, force = false, onProgress?) => Promise<FoundryModelInfo>` | Downloads a model to the local cache. |
7171
| `loadModel()` | `(aliasOrModelId: string, ttl = 600) => Promise<FoundryModelInfo>` | Loads a model into the inference server. |
7272
| `unloadModel()` | `(aliasOrModelId: string, force = false) => Promise<void>` | Unloads a model from the inference server. |
7373
| `listLoadedModels()` | `() => Promise<FoundryModelInfo[]>` | Lists all models currently loaded in the service.|

0 commit comments

Comments
 (0)