mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-28 15:22:00 +00:00
update provider to provider_id
This commit is contained in:
parent
4491a51149
commit
00e57d693f
3 changed files with 4 additions and 4 deletions
|
|
@ -439,8 +439,8 @@ class DatasetsRoutingTable(CommonRoutingTableImpl, Datasets):
|
|||
|
||||
# infer provider from source
|
||||
if metadata:
|
||||
if metadata.get("provider"):
|
||||
provider_id = metadata.get("provider") # pass through from nvidia datasetio
|
||||
if metadata.get("provider_id"):
|
||||
provider_id = metadata.get("provider_id") # pass through from nvidia datasetio
|
||||
elif source.type == DatasetType.rows.value:
|
||||
provider_id = "localfs"
|
||||
elif source.type == DatasetType.uri.value:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue