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

How to specify a character file #39

Closed
sirkitree opened this issue Oct 26, 2024 · 1 comment · Fixed by #41
Closed

How to specify a character file #39

sirkitree opened this issue Oct 26, 2024 · 1 comment · Fixed by #41

Comments

@sirkitree
Copy link
Collaborator

I noted in the README that you can pass the --characters=<path> but this doesn't eem to work for me:

sirkitree@lullaM2 eliza % npm start --characters=characters/vic_fontain.json

> [email protected] start
> node --loader ts-node/esm src/index.ts

characterPath undefined
characterPaths undefined
No characters found, using default character
Starting agent for character Eliza
@sirkitree
Copy link
Collaborator Author

ok looks like I can run node --loader ts-node/esm src/index.ts --characters="path/to/your/character.json"

I think it would benefit the readme to specify this command or talk about how you can add your own command in the script section of package.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant