Skip to content

Commit a4f08f2

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 3a370ee commit a4f08f2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

utilities/constants.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,7 @@ class LLMdInferenceSimConfig:
497497
"service": {"hostname": f"{LLMdInferenceSimConfig.isvc_name}-predictor", "port": 80}
498498
}
499499

500+
500501
@dataclass
501502
class VLLMGPUConfig:
502503
name: str = "vllm-gpu"
@@ -509,12 +510,11 @@ class VLLMGPUConfig:
509510
def get_hostname(cls, namespace: str) -> str:
510511
return f"{cls.isvc_name}-predictor.{namespace}.svc.cluster.local"
511512

513+
512514
VLLM_CHAT_GENERATION_CONFIG: dict[str, Any] = {
513-
"service": {
514-
"hostname": VLLMGPUConfig.get_hostname("test-guardrails-huggingface"),
515-
"port": VLLMGPUConfig.port
516-
}
515+
"service": {"hostname": VLLMGPUConfig.get_hostname("test-guardrails-huggingface"), "port": VLLMGPUConfig.port}
517516
}
518517

518+
519519
class PodNotFound(Exception):
520520
"""Pod not found"""

0 commit comments

Comments
 (0)