You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the pnpm dev --character="characters/trump.character.json" command, the character parameter fails to load correctly, resulting in only the default character being loaded.
To Reproduce
step 1:
open the dev.sh file vim scripts/dev.sh
step 2:
add a new path for WORKING_FOLDERS
# List of working folders to watch (relative to $PACKAGES_DIR)
WORKING_FOLDERS=("client-direct""plugin-test") # Core is handled separately
step 3:
run pnpm dev --character="characters/trump.character.json"
step 4:
Will see that the default character "Eliza" has been loaded, instead of the specified "trump.character.json"
Expected behavior
Character "trump" should be loaded
Screenshots
No screenshots
Additional context
The reason for this situation is that a wrong symbol was used in dev.sh
Should use * instead of @
Using @ causes the command to be forcibly wrapped into a new line (and it's an incorrect line break)
Hello @MyJoiT! Welcome to the elizaOS community. Thank you for opening your first issue; we appreciate your contribution. You are now an elizaOS contributor!
Describe the bug
When using the
pnpm dev --character="characters/trump.character.json"
command, thecharacter
parameter fails to load correctly, resulting in only the defaultcharacter
being loaded.To Reproduce
step 1:
open the
dev.sh
filevim scripts/dev.sh
step 2:
add a new path for WORKING_FOLDERS
step 3:
run
pnpm dev --character="characters/trump.character.json"
step 4:
Will see that the default character "Eliza" has been loaded, instead of the specified "trump.character.json"
Expected behavior
Character "trump" should be loaded
Screenshots
No screenshots
Additional context
The reason for this situation is that a wrong symbol was used in
dev.sh
Should use
*
instead of@
Using
@
causes the command to be forcibly wrapped into a new line (and it's an incorrect line break)This is the correct code:
COMMANDS+=("nodemon ${WATCH_PATHS[*]} -e js,json,map --delay 2 --exec 'pnpm --dir agent dev -- $*'")
The text was updated successfully, but these errors were encountered: