mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-18 15:29:47 +00:00
move is_hosted out of the NVIDIAConfig api
This commit is contained in:
parent
988741c276
commit
8944491c3c
3 changed files with 7 additions and 7 deletions
|
|
@ -46,7 +46,3 @@ class NVIDIAConfig(BaseModel):
|
|||
default=60,
|
||||
description="Timeout for the HTTP requests",
|
||||
)
|
||||
|
||||
@property
|
||||
def is_hosted(self) -> bool:
|
||||
return "integrate.api.nvidia.com" in self.url
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue