message.completion returns ''
Closed this issue · 4 comments
sobrienti commented
Hello,
Since this morning every time I try to use the sendMessage method, regardless of the actual message sent, message.completion returns an empty string ''. While logging onto claude.ai, I can see that Claude responded to the prompt just fine with text.
const { Claude } = await import("claude-ai");
const claude = new Claude({
sessionKey: [my-session-key],
});
await claude.init();
const conversation = await claude.startConversation(`[my initial conversion here]`)
const message = await conversation.sendMessage(`[my message here]`)
console.log(message.completion)
And message.completion:
Is there an issue with the package?
devspelunk commented
I am also dealing with this issue today.
alessandro-bonfatti-pv commented
Same for me
immatt2015 commented
The reason. #41
Explosion-Scratch commented
Fixed in 91426c6