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
6969| Method | Signature | Description |
7070| ---------------------------| ---------------------------------------------------| --------------------------------------------------|
7171| ` 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. |
7373
7474
7575### Model Management
@@ -112,7 +112,7 @@ await manager.downloadModel(alias)
112112await manager .loadModel (alias)
113113
114114// List models in cache
115- const localModels = await manager .listLocalModels ()
115+ const localModels = await manager .listCachedModels ()
116116
117117// List loaded models
118118const 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
6666| Method | Signature | Description |
6767| ---------------------------| ---------------------------------------------------| --------------------------------------------------|
6868| ` 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. |
7070
7171### Model Management
7272
@@ -101,7 +101,7 @@ model_info = manager.load_model(alias)
101101print (f " Model info: { model_info} " )
102102
103103# List models in cache
104- local_models = manager.list_local_models ()
104+ local_models = manager.list_cached_models ()
105105print (f " Models in cache: { local_models} " )
106106
107107# List loaded models
You can’t perform that action at this time.
0 commit comments