You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[3/12/2024 2:58:05 PM] @anthropic-ai/sdk/streaming.js:64 Could not parse message into JSON:
[3/12/2024 2:58:05 PM] @anthropic-ai/sdk/streaming.js:65 From chunk: [ 'event: content_block_delta' ]
[3/12/2024 2:58:05 PM] dist/tracers/console.cjs:157 [llm/error] [1:chain:LLMChain > 2:llm:ChatAnthropic] [864ms] LLM run errored with error: "Unexpected end of JSON input"
Description
I am trying to use Helicone with Anthropic as per the documentation mentioned in the Helicone.
Here I am frequently getting this message on further investigation I found that it was the issue of the Anthropic-sdk which has been fixed in the latest version:
Issue link: anthropics/anthropic-sdk-typescript#292
System Info
langchain: v1.22.19
Node Version: v.18.13.0
@langchain/anthropic: 0.1.5
The text was updated successfully, but these errors were encountered:
It's great that you've identified the issue and found a potential fix in the latest version of the Anthropic-SDK. Your contribution to upgrading the SDK version would be valuable to the community. Thank you for considering this improvement!
About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.
dosubotbot
added
the
auto:bug
Related to a bug, vulnerability, unexpected error with an existing feature
label
Mar 12, 2024
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
[3/12/2024 2:58:05 PM] @anthropic-ai/sdk/streaming.js:64 Could not parse message into JSON:
[3/12/2024 2:58:05 PM] @anthropic-ai/sdk/streaming.js:65 From chunk: [ 'event: content_block_delta' ]
[3/12/2024 2:58:05 PM] dist/tracers/console.cjs:157 [llm/error] [1:chain:LLMChain > 2:llm:ChatAnthropic] [864ms] LLM run errored with error: "Unexpected end of JSON input"
Description
I am trying to use Helicone with Anthropic as per the documentation mentioned in the Helicone.
Here I am frequently getting this message on further investigation I found that it was the issue of the Anthropic-sdk which has been fixed in the latest version:
Issue link: anthropics/anthropic-sdk-typescript#292
System Info
The text was updated successfully, but these errors were encountered: