Skip to content

Commit 961826f

Browse files
Update utils/llm/dspy_inference.py
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent 8974306 commit 961826f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

utils/llm/dspy_inference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def __init__(
3939
)
4040
self.fallback_lm = (
4141
self._build_lm(self.fallback_model_name, temperature, max_tokens)
42-
if self.fallback_model_name
42+
if self.fallback_model_name is not None
4343
else None
4444
)
4545
if observe:

0 commit comments

Comments
 (0)