joonspk-research / genagents

MIT License
148 stars 31 forks source link

Bug fix for iteracting with agents with no memories #1

Closed akaashkolluri closed 1 week ago

akaashkolluri commented 1 week ago

When using agents with no existing memories (e.g., all of the GSS agents), an error occurs in the memory retrieval function if an utterance/response function is used before memories are added with remember(). This fix checks for empty memory streams, fixing the bug. Additionally, there is a correction to the file path for the demo agent in main.py