fix undfined variable (#142)

This commit is contained in:
Yaya Sy
2024-02-04 23:27:52 +01:00
committed by GitHub
parent 8fb7459e08
commit 82fa69b3cc

View File

@@ -106,7 +106,7 @@ class OpenAI(BaseBackend):
**kwargs,
)
else:
raise ValueError(f"Unknown dtype: {dtype}")
raise ValueError(f"Unknown dtype: {sampling_params.dtype}")
return comp, {}