fix: default cost to NaN when calculation fails in LiteLLM backend (#912)

* fix: default cost to NaN when calculation fails in LiteLLM backend

* lint

* lint
This commit is contained in:
you-n-g
2025-05-29 22:58:29 +08:00
committed by GitHub
parent 9e854a1346
commit fca945c77f
3 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -826,7 +826,7 @@ class QTDockerEnv(DockerEnv):
def __init__(self, conf: DockerConf = QlibDockerConf()):
super().__init__(conf)
def prepare(self, *args, **kwargs) -> None: # type: ignore[explicit-override, no-untyped-def]
def prepare(self, *args, **kwargs) -> None: # type: ignore[no-untyped-def]
"""
Download image & data if it doesn't exist
"""