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

Not loading any character files #3679

Open
jgarrettvml opened this issue Feb 26, 2025 · 3 comments
Open

Not loading any character files #3679

jgarrettvml opened this issue Feb 26, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@jgarrettvml
Copy link

When attempting to load any character file, including the provided one for c3po, I receive the error:

[2025-02-26 04:02:21] INFO: Processing knowledge for VAL - Medical equipment operation
[2025-02-26 04:06:17] ERROR: Error starting agent for character VAL:
[2025-02-26 04:06:17] ERROR:
err: {
"type": "RangeError",
"message": "Invalid array length",
"stack":
RangeError: Invalid array length
at Array.push ()
at splitText (file:///home/jza/agent/eliza/packages/core/dist/index.js:7239:16)
at splitChunks (file:///home/jza/agent/eliza/packages/core/dist/index.js:7227:20)
at Object.set (file:///home/jza/agent/eliza/packages/core/dist/index.js:12556:29)
at async AgentRuntime.processCharacterKnowledge (file:///home/jza/agent/eliza/packages/core/dist/index.js:13310:13)
at async AgentRuntime.initialize (file:///home/jza/agent/eliza/packages/core/dist/index.js:13282:17)
at async startAgent (file:///home/jza/agent/eliza/agent/src/index.ts:552:9)
at async startAgents (file:///home/jza/agent/eliza/agent/src/index.ts:599:13)
}
[2025-02-26 04:06:17] ERROR: Error starting agents:

As seen in the screenshot

Image

@jgarrettvml jgarrettvml added the bug Something isn't working label Feb 26, 2025
@jgarrettvml
Copy link
Author

Here is a fresh install, downloaded submodule for character files for c3po, same error

Image

@abhithtez
Copy link

Same issue. Any solution ??

@thomasjvu
Copy link

Looks like a bug with the knowledge field. Try removing that field and its data from the c3po.character.json file to see if that temporarily fixes things.

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

3 participants