mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-17 09:32:36 +00:00
remove pydantic namespace warnings using model_config
This commit is contained in:
parent
f1b9578f8d
commit
0649cf0af7
2 changed files with 6 additions and 5 deletions
|
|
@ -31,6 +31,8 @@ class Model(CommonModelFields, Resource):
|
|||
def provider_model_id(self) -> str:
|
||||
return self.provider_resource_id
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class ModelInput(CommonModelFields):
|
||||
model_id: str
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue