File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
articles/ai-foundry/foundry-local/includes/sdk-reference Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ Many methods outlined in this reference have an `aliasOrModelId` parameter in th
69
69
| Method | Signature | Description |
70
70
| ---------------------------| ---------------------------------------------------| --------------------------------------------------|
71
71
| ` getCacheLocation() ` | ` () => Promise<string> ` | Returns the model cache directory path. |
72
- | ` listLocalModels ()` | ` () => Promise<FoundryModelInfo[]> ` | Lists models downloaded to the local cache. |
72
+ | ` listCachedModels ()` | ` () => Promise<FoundryModelInfo[]> ` | Lists models downloaded to the local cache. |
73
73
74
74
75
75
### Model Management
@@ -112,7 +112,7 @@ await manager.downloadModel(alias)
112
112
await manager .loadModel (alias)
113
113
114
114
// List models in cache
115
- const localModels = await manager .listLocalModels ()
115
+ const localModels = await manager .listCachedModels ()
116
116
117
117
// List loaded models
118
118
const loaded = await manager .listLoadedModels ()
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ Many methods outlined in this reference have an `alias_or_model_id` parameter in
66
66
| Method | Signature | Description |
67
67
| ---------------------------| ---------------------------------------------------| --------------------------------------------------|
68
68
| ` get_cache_location() ` | ` () -> str ` | Returns the model cache directory path. |
69
- | ` list_local_models ()` | ` () -> list[FoundryModelInfo] ` | Lists models downloaded to the local cache. |
69
+ | ` list_cached_models ()` | ` () -> list[FoundryModelInfo] ` | Lists models downloaded to the local cache. |
70
70
71
71
### Model Management
72
72
@@ -101,7 +101,7 @@ model_info = manager.load_model(alias)
101
101
print (f " Model info: { model_info} " )
102
102
103
103
# List models in cache
104
- local_models = manager.list_local_models ()
104
+ local_models = manager.list_cached_models ()
105
105
print (f " Models in cache: { local_models} " )
106
106
107
107
# List loaded models
You can’t perform that action at this time.
0 commit comments