diff --git a/log10/anthropic.py b/log10/anthropic.py index 630a9fca..24ca63b6 100644 --- a/log10/anthropic.py +++ b/log10/anthropic.py @@ -135,11 +135,6 @@ def create_tokens_usage(prompt: str, completion: str): def prepare_response( response: anthropic.types.Completion | anthropic.types.Message, input_prompt: str = "" ) -> dict: - print(type(response)) - - if isinstance(response, dict): - response = anthropic.types.Message(**response) - if not hasattr(response, "stop_reason"): return None