eliza icon indicating copy to clipboard operation
eliza copied to clipboard

the local model on plugin dev not work

Open lantianlaoli opened this issue 8 months ago • 5 comments

Describe the bug I use the elizaos to create a plugin project, and use elizaos dev to run it.

[2025-04-23 08:22:47] INFO: Model already exists at: /home/cxp/.eliza/models/bge-small-en-v1.5.Q4_K_M.gguf
[node-llama-cpp] load: special_eos_id is not in special_eog_ids - the tokenizer config may be incorrect
[node-llama-cpp] Using this model ("~/.eliza/models/bge-small-en-v1.5.Q4_K_M.gguf") to tokenize text and then detokenize it resulted in a different text. There might be an issue with the model or the tokenizer implementation. Using this model may not work as intended
[2025-04-23 08:22:48] INFO: Embedding model initialized successfully
[2025-04-23 08:22:48] INFO: Generating embedding for text
    textLength: 18
[2025-04-23 08:22:48] INFO: Embedding generation complete
    dimensions: 384
{"level":40,"time":1745396568237,"pid":166664,"hostname":"R9000P","msg":"Could not parse text as JSON, returning null"}
[2025-04-23 08:22:48] WARN: *** Missing required fields, retrying... ***
[2025-04-23 08:22:48] WARN: *** Missing required fields, retrying... ***
[2025-04-23 08:22:48] WARN: *** Missing required fields, retrying... ***
{"level":40,"time":1745396568277,"pid":166664,"hostname":"R9000P","msg":"Could not parse text as JSON, returning null"}
{"level":40,"time":1745396568278,"pid":166664,"hostname":"R9000P","msg":"Could not parse text as JSON, returning null"}
{"level":40,"time":1745396568278,"pid":166664,"hostname":"R9000P","msg":"Could not parse text as JSON, returning null"}

To Reproduce

In localhost:3001 and send some text to agent on chat area.

Expected behavior

should generate answer content

Screenshots

Additional context

lantianlaoli avatar Apr 23 '25 08:04 lantianlaoli

Experiencing the same thing.

yungyoda avatar Apr 24 '25 18:04 yungyoda

@cxp-13 try removing starterPlugin from your index.ts

  character,
  init: async (runtime: IAgentRuntime) => await initCharacter({ runtime }),
  plugins: [], <------ remove starterPlugin
};```

yungyoda avatar Apr 24 '25 22:04 yungyoda

this fixed for me at least.

yungyoda avatar Apr 24 '25 22:04 yungyoda

@cxp-13 try removing starterPlugin from your index.ts

  character,
  init: async (runtime: IAgentRuntime) => await initCharacter({ runtime }),
  plugins: [], <------ remove starterPlugin
};```

Where are these code locations for the project? I last used Eliza to dev in jan, these times Eliza has happened a lot of upgrades. I recent join the Solana breakout hackathon, I plan to build a plugin under the V2 version. There are many places in the tutorial of the document that do not match the actual code If you are familiar with Eliza, can you leave a contact information for Discord or TG?

lantianlaoli avatar Apr 25 '25 09:04 lantianlaoli

@cxp-13 try removing starterPlugin from your index.ts

  character,
  init: async (runtime: IAgentRuntime) => await initCharacter({ runtime }),
  plugins: [], <------ remove starterPlugin
};```

Where are these code locations for the project? I last used Eliza to dev in jan, these times Eliza has happened a lot of upgrades. I recent join the Solana breakout hackathon, I plan to build a plugin under the V2 version. There are many places in the tutorial of the document that do not match the actual code If you are familiar with Eliza, can you leave a contact information for Discord or TG?

I emailed the email on your github account page with my contact information. Lmk, I would be happy to help.

yungyoda avatar Apr 30 '25 21:04 yungyoda

This be fixed

lalalune avatar Jun 02 '25 12:06 lalalune