eliza icon indicating copy to clipboard operation
eliza copied to clipboard

farcaster-client fails to embed

Open CryptoGraffe opened this issue 1 month ago • 2 comments

Describe the bug

I'm brand new to this so forgive me, but it seems all incoming memories (from mentions) are using an empty vector when trying to embed. Is this desired, or should it embed the text from the cast?

I see this in the code for memory processing:

https://github.com/elizaOS/eliza/blob/d55c86c961960b4b34528c358eb34b2ff4b34d87/packages/client-farcaster/src/memory.ts#L45C8-L45C45

embedding: getEmbeddingZeroVector(),

It looks to be hardcoded to always be empty.

I'm using 0.1.7

To Reproduce

Connect farcaster client and get inbound messages from replies. See these log messages:

◎ LOGS Creating Memory c749dce0-4f97-0878-870f-ae92d34be101 @agentpaddington why is it so hard

⚠ WARNINGS Invalid embedding input: {"input":"","type":"string","length":0}

Expected behavior

Actual embedding of the memories.

CryptoGraffe avatar Jan 14 '25 19:01 CryptoGraffe