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

My agent won't chat & log into twitter #1961

Closed
DanielleMichelle opened this issue Jan 7, 2025 · 5 comments
Closed

My agent won't chat & log into twitter #1961

DanielleMichelle opened this issue Jan 7, 2025 · 5 comments

Comments

@DanielleMichelle
Copy link

This is what my page looks like

http://localhost:5173/8f8b1ccc-243a-0cac-b563-c92272a1c644/chat

It says "WIP" and chat won't let me type.

I also want to launch my agent and log into my twitter but all i get is:

I keep getting the same error and it won't schedule a tweet for me.

danielle_fabric@Danielles-MacBook-Pro eliza % pnpm start --character="characters/danimi.character.jsn"
 WARN  Unsupported engine: wanted: {"node":"23.3.0"} (current: {"node":"v23.5.0","pnpm":"9.15.3"})

eliza@ start /Users/danielle_fabric/eliza
pnpm --filter "@elizaos/agent" start --isRoot "--character=characters/danimi.character.jsn"

. |  WARN  Unsupported engine: wanted: {"node":"23.3.0"} (current: {"node":"v23.5.0","pnpm":"9.14.4"})
docs |  WARN  Unsupported engine: wanted: {"node":"23.3.0"} (current: {"node":"v23.5.0","pnpm":"9.14.4"})

@elizaos/[email protected] start /Users/danielle_fabric/eliza/agent
node --loader ts-node/esm src/index.ts "--isRoot" "--character=characters/danimi.character.jsn"

(node:48958) ExperimentalWarning: --experimental-loader may be removed in the future; instead use register():
--import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));'
(Use node --trace-warnings ... to show where the warning was created)
(node:48958) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
(Use node --trace-deprecation ... to show where the warning was created)
[ElizaLogger] Initializing with:
isNode: true
verbose: false
VERBOSE env: undefined
NODE_ENV: undefined

ℹ INFORMATIONS
Loading embedding settings:
{"USE_OPENAI_EMBEDDING":"","USE_OLLAMA_EMBEDDING":"","OLLAMA_EMBEDDING_MODEL":"mxbai-embed-large"}

ℹ INFORMATIONS
Loading character settings:
{"ARGV":["/Users/danielle_fabric/.nvm/versions/node/v23.5.0/bin/node","/Users/danielle_fabric/eliza/agent/src/index.ts","--isRoot","--character=characters/danimi.character.jsn"],"CHARACTER_ARG":"--character=characters/danimi.character.jsn","CWD":"/Users/danielle_fabric/eliza/agent"}

Loaded .env file from: /Users/danielle_fabric/eliza/.env
ℹ INFORMATIONS
Parsed settings:
{"USE_OPENAI_EMBEDDING":"","USE_OPENAI_EMBEDDING_TYPE":"string","USE_OLLAMA_EMBEDDING":"","USE_OLLAMA_EMBEDDING_TYPE":"string","OLLAMA_EMBEDDING_MODEL":"mxbai-embed-large"}

using deprecated parameters for the initialization function; pass a single object instead
(node:48958) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
["◎ DirectClient constructor"]

ℹ INFORMATIONS
Trying paths:
[{"path":"characters/danimi.character.jsn","exists":false},{"path":"/Users/danielle_fabric/eliza/agent/characters/danimi.character.jsn","exists":false},{"path":"/Users/danielle_fabric/eliza/agent/agent/characters/danimi.character.jsn","exists":false},{"path":"/Users/danielle_fabric/eliza/agent/src/characters/danimi.character.jsn","exists":false},{"path":"/Users/danielle_fabric/eliza/agent/src/characters/danimi.character.jsn","exists":false},{"path":"/Users/danielle_fabric/eliza/agent/characters/danimi.character.jsn","exists":false},{"path":"/Users/danielle_fabric/eliza/characters/danimi.character.jsn","exists":true}]

ℹ INFORMATIONS
Plugins are:
[]

["ℹ Successfully loaded character from: /Users/danielle_fabric/eliza/characters/danimi.character.jsn"]

["◎ sqlite-vec extensions loaded successfully."]

["ℹ Using Database Cache..."]

✓ SUCCESS
SUCCESS
Creating runtime for character
Danielle Michelle

ℹ INFORMATIONS
Initializing AgentRuntime with options:
{"character":"Danielle Michelle","modelProvider":"openai","characterModelProvider":"openai"}

✓ SUCCESS
Agent ID
8f8b1ccc-243a-0cac-b563-c92272a1c644

["ℹ Setting model provider..."]

ℹ INFORMATIONS
Model Provider Selection:
{"characterModelProvider":"openai","optsModelProvider":"openai","finalSelection":"openai"}

ℹ INFORMATIONS
Selected model provider:
openai

ℹ INFORMATIONS
Selected image model provider:
openai

["✓ Registering action: CONTINUE"]

["✓ Registering action: FOLLOW_ROOM"]

["✓ Registering action: UNFOLLOW_ROOM"]

["✓ Registering action: IGNORE"]

["✓ Registering action: NONE"]

["✓ Registering action: MUTE_ROOM"]

["✓ Registering action: UNMUTE_ROOM"]

["✓ Registering action: DESCRIBE_IMAGE"]

◎ LOGS
Registering service:
browser

["✓ Service browser registered successfully"]

◎ LOGS
Registering service:
image_description

["✓ Service image_description registered successfully"]

◎ LOGS
Registering service:
text_generation

["✓ Service text_generation registered successfully"]

◎ LOGS
Registering service:
pdf

["✓ Service pdf registered successfully"]

◎ LOGS
Registering service:
speech_generation

["✓ Service speech_generation registered successfully"]

◎ LOGS
Registering service:
transcription

["✓ Service transcription registered successfully"]

◎ LOGS
Registering service:
video

["✓ Service video registered successfully"]

◎ LOGS
Registering service:
aws_s3

["✓ Service aws_s3 registered successfully"]

["✓ Registering action: GENERATE_IMAGE"]

["✓ Service browser initialized successfully"]

["◎ Initializing ImageDescriptionService"]

["✓ Service image_description initialized successfully"]

["ℹ Initializing LlamaService..."]

["✓ Service text_generation initialized successfully"]

["✓ Service pdf initialized successfully"]

["✓ Service speech_generation initialized successfully"]

["✓ Service transcription initialized successfully"]

["✓ Service video initialized successfully"]

Initializing AwsS3Service
["✓ Service aws_s3 initialized successfully"]

["◎ Initializing ImageDescriptionService"]

["ℹ Initializing LlamaService..."]

Initializing AwsS3Service
ℹ INFORMATIONS
Processing knowledge for
Danielle Michelle

Crypto trading

◎ LOGS
Creating Memory
33f9f95a-9fa1-0dc7-b8e6-a3d7495613e9
Crypto trading

◎ LOGS
Creating Memory
3cdc412c-2c5f-0c52-8816-e0af207f1f40
crypto trading

ℹ INFORMATIONS
Processing knowledge for
Danielle Michelle

NFT market trends

◎ LOGS
Creating Memory
ca6c6dfd-6e8c-0e54-9ce6-4d0fb9d92a72
NFT market trends

◎ LOGS
Creating Memory
c3338418-c044-0f92-9255-45b6f5529386
nft market trends

ℹ INFORMATIONS
Processing knowledge for
Danielle Michelle

AI possibilities in digital domains

◎ LOGS
Creating Memory
9375bd3c-9450-0d9c-be7c-74ae054c516a
AI possibilities in digital domains

◎ LOGS
Creating Memory
a333b640-160d-066f-86ab-e09b06a8e12e
ai possibilities in digital domains

ℹ INFORMATIONS
Processing knowledge for
Danielle Michelle

Community engagement strategies

◎ LOGS
Creating Memory
25539493-3ed4-0869-98ea-5aa3f890fab5
Community engagement strategies

◎ LOGS
Creating Memory
12e27835-bcf2-078f-9394-64fe8b25e845
community engagement strategies

◎ LOGS
initializeClients
[]
for
Danielle Michelle

◎ LOGS
client keys
[]

["◎ Run pnpm start:client to start the client and visit the outputted URL (http://localhost:5173) to chat with your agents. When running multiple agents, use client with different port SERVER_PORT=3001 pnpm start:client"]

["✓ REST API bound to 0.0.0.0:3000. If running locally, access it at http://localhost:3000."]

Expected behavior

I thought it would log memory and then start scheduling a tweet

What do I do?

@DanielleMichelle DanielleMichelle added the bug Something isn't working label Jan 7, 2025
@mrsalitre
Copy link

its necessary more info, but:

  • check if you are using the twitter client in the character config
  • check all the twitter .env variables are correct

@KSym04
Copy link

KSym04 commented Jan 8, 2025

first, it seems you got typo on characters characters/danimi.character.jsn
secondly, check your Twitter settings on the .env

@DanielleMichelle
Copy link
Author

first, it seems you got typo on characters characters/danimi.character.jsn secondly, check your Twitter settings on the .env

Hi, thank you for your reply. What is the typo error I have? Should it be characters/danimi.characters.jsn or characters/danimi.character.json

@Kwalladee
Copy link

first, it seems you got typo on characters characters/danimi.character.jsn secondly, check your Twitter settings on the .env

Hi, thank you for your reply. What is the typo error I have? Should it be characters/danimi.characters.jsn or characters/danimi.character.json

.json also it wouldnt hurt to use the recommended version of node 23.3.0 instead of 23.5.0

@AIFlowML AIFlowML added Need Feedback and removed bug Something isn't working labels Jan 9, 2025
@AIFlowML
Copy link
Collaborator

AIFlowML commented Jan 9, 2025

User not using the right extension .json in the character file.
Also not updated the node.

@AIFlowML AIFlowML closed this as completed Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants