Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick start guide bug - pnpm start #1552

Closed
freddymercury opened this issue Dec 29, 2024 · 8 comments
Closed

Quick start guide bug - pnpm start #1552

freddymercury opened this issue Dec 29, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@freddymercury
Copy link

freddymercury commented Dec 29, 2024

Describe the bug
when going through the quickstart guide

Getting an error when using local client (pnpm start:client) and init any chat such as hello...the output on the service is:

-0009-a2c3-83780c350ff3 successfully."] 

 ["◎ Agent tate linked to room 6ac3f59a-67bb-0009-a2c3-83780c350ff3 successfully."] 

 ◎ LOGS
   Creating Memory 
   0c8b6c1c-00b2-0768-8309-564c7d224967 
   hi 

 ["◎ Generating message response.."] 

 ["◎ Generating text..."] 

 ℹ INFORMATIONS
   Generating text with options: 
   {"modelProvider":"gaianet","model":"large"} 

 ℹ INFORMATIONS
   Selected model: 
   qwen72b 

 ◎ LOGS
   Creating Memory 
   2f8f543d-8105-094e-89e8-5ecda88f310f 
   What's the purpose of this conversation? 


file:///Users/dev/rsrc/eliza/packages/adapter-sqlite/dist/index.js:308
        const memories = this.db.prepare(sql).all(...queryParams);
                                              ^
SqliteError: Vector dimension mistmatch. First vector has 768 dimensions, while the second has 384 dimensions.
    at SqliteDatabaseAdapter.searchMemoriesByEmbedding (file:///Users/dev/rsrc/eliza/packages/adapter-sqlite/dist/index.js:308:47)
    at SqliteDatabaseAdapter.createMemory (file:///Users/dev/rsrc/eliza/packages/adapter-sqlite/dist/index.js:240:48)
    at MemoryManager.createMemory (file:///Users/dev/rsrc/eliza/packages/core/dist/index.js:3176:44)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async file:///Users/dev/rsrc/eliza/packages/client-direct/dist/index.js:275:13 {
  code: 'SQLITE_ERROR'
}

Node.js v23.3.0
/Users/dev/rsrc/eliza/agent:
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @elizaos/[email protected] start: `node --loader ts-node/esm src/index.ts "--isRoot" "--character=characters/tate.character.json"`
Exit status 1
 ELIFECYCLE  Command failed with exit code 1.

To Reproduce

  • pnpm start --character="characters/tate.character.json"
  • pnpm start:client
  • initiate a chat after selecting agent - such as 'hello'
  • no response on UI; the service has the error above with the service process exiting code 1

Expected behavior

Screenshots

Additional context

starts up just fine, creates memories etc to the vector db.

using node version 23.3, tried 24.3 - same result
on a mac os - Monterrey - 12.7.6 (intel chip)

using elizaOS version - v0.1.7-alpha.2
using gaianet as the model provider

@freddymercury freddymercury added the bug Something isn't working label Dec 29, 2024
Copy link
Contributor

Hello @freddymercury! Welcome to the ai16z community. Thank you for opening your first issue; we appreciate your contribution. You are now a ai16z contributor!

@CryptoUncleSam
Copy link

exactly the same error

@freddymercury
Copy link
Author

i am closing this as I do not think this is critical. I was able to move past this by using openAI. I was using gaianet so I am guessing there is gaianet account problem on my end.

@freddymercury
Copy link
Author

exactly the same error

what is your llm provider? gaianet? openai?

@www222fff
Copy link

same issue with me for gaianet provider, is there fix release or warkaround?

@harishkotra
Copy link

harishkotra commented Jan 3, 2025

@www222fff @freddymercury @CryptoUncleSam Harish here from the Gaia team.

We're actively looking into this and will push a PR with a fix soon!

A temporary solution is to use this version: git checkout v0.1.7-alpha.1

@issa-me-sush
Copy link

seems to be fine with the latest - v0.1.7

@harishkotra
Copy link

@www222fff @freddymercury @CryptoUncleSam try the latest v.0.1.7 and it works without this issue. Thanks @issa-me-sush for the update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants