diff --git a/instructor/patch.py b/instructor/patch.py index 686a0ef..4635e1b 100644 --- a/instructor/patch.py +++ b/instructor/patch.py @@ -116,7 +116,7 @@ def wrap_chatcompletion(func: Callable) -> Callable: ) # type: ignore if error: raise ValueError(error) - return (response,) + return response @wraps(func) def new_chatcompletion_sync(