Unverified Commit 82fa69b3 authored by Yaya Sy's avatar Yaya Sy Committed by GitHub
Browse files

fix undfined variable (#142)

parent 8fb7459e
...@@ -106,7 +106,7 @@ class OpenAI(BaseBackend): ...@@ -106,7 +106,7 @@ class OpenAI(BaseBackend):
**kwargs, **kwargs,
) )
else: else:
raise ValueError(f"Unknown dtype: {dtype}") raise ValueError(f"Unknown dtype: {sampling_params.dtype}")
return comp, {} return comp, {}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment