Skip to content

Commit

Permalink
Update json_adapter.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dbczumar authored Dec 3, 2024
1 parent b7dfbb8 commit 5bfba54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dspy/adapters/json_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __call__(self, lm, lm_kwargs, signature, demos, inputs, _parse_values=True):
response_format = _get_structured_outputs_response_format(signature)
outputs = lm(**inputs, **lm_kwargs, response_format=response_format)
except Exception:
_logger.warning(
_logger.debug(
"Failed to obtain response using signature-based structured outputs"
" response format: Falling back to default 'json_object' response format."
" Exception: {e}"
Expand Down

0 comments on commit 5bfba54

Please sign in to comment.