Helicone Community Page

Updated last year

Requests Pretty View Not Working for Anthropic

Hi,
It seems like for the Anthropic model, the "Pretty" non JSON view is not working.

I am seeing this error:
Plain Text
"helicone_error": "error parsing response",
    "parse_response_error": "error parsing response, TypeError: Fetch API cannot load: undefined,\"stop_reason\":\"stop_sequence\",\"model\":\"claude-2.0\",\"truncated\":false,\"stop\":\"\\n\\nHuman:\",\"log_id\":\"99f2de9a30edebbdeefebdf8d019e1671cce59e17c36ae34d433f7e15c352a7f\",\"exception\":null}",


Curious if this will be fixed anytime soon?
a
V
5 comments
I’ll take a look. Thanks for flagging!
hey , looping in . can you let us know your email address so we can debug this? having trouble reproducing your error
we merged in a fix for better support for anthropic. let us know if you're still having issues!
oops sorry just saw this now. The pretty view is working for me now thanks! I'm also seeing a lack of token counting for Anthropic. Wonder if token counting + cost calculation support will be added for Anthropic?
It will! We wanted to unblock as soon as we can, but these calculations are on our roadmap to build. Will lyk once we do!
Add a reply
Sign up and join the conversation on Discord