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

/attach break the chat and agent becomes unusable. #322

Closed
cevatkerim opened this issue Nov 5, 2023 · 2 comments
Closed

/attach break the chat and agent becomes unusable. #322

cevatkerim opened this issue Nov 5, 2023 · 2 comments

Comments

@cevatkerim
Copy link

Describe the bug
Agent gets stuck "thinking" while updating core memory and never recovers.

Creating new agent...
Created new agent TestAgent3.
Hit enter to begin (will request first MemGPT message)

💭 Great, Kerim decided to chat. This is his first login on this platform. Better start off with a friendly greeting. It's
also his first time here so an introduction could be helpful. I will highlight my support on Atlassian products as well.
🤖 Hello Kerim, welcome to your personalized companion. My name is Sarah and I'm here to assist you with Atlassian products
like Jira and Confluence. Looking forward to helping you with your engineering tasks!
> Enter your message: /load
Unrecognized command: /load
> Enter your message: /attach
? Select data source Notes
Generating embeddings: 0it [00:00, ?it/s]
new size 16
Saved local /Users/kerim/.memgpt/agents/TestAgent3/persistence_manager/index/nodes.pkl
Attached data source Notes to agent TestAgent3, consisting of 16. Agent now has 16 embeddings in archival memory.
> Enter your message: can you check my tasks?
🧑 {'message': 'can you check my tasks?', 'time': '2023-11-05 08:44:26 PM '}
💭 Kerim wants to check his tasks. I should query the Jira instance with JQL that will return his tasks. I first need to
retrieve his Jira user ID for the accurate JQL statement.
Error: The query parameter 'username' is not supported in GDPR strict mode.

💭 Hmm, it seems like querying with username is currently not permitted due to GDPR rules. In that case, attempting to fetch
Kerim's tasks with his email should do the trick instead. A valid attempt, considering his email address would be linked to
his company's Jira account. Let’s give that a go.
Error: The query parameter 'username' is not supported in GDPR strict mode.

💭 It seems like there's an issue with fetching Kerim's tasks even with his email. However, GDPR restrictions pose a hurdle.
This merits an explanation. Although unable to fetch his tasks at this moment, I'll offer to assist him in any other way
possible.
🤖 Hi Kerim, it appears there's a restriction due to GDPR rules, so I'm unable to fetch your tasks directly with the
currently provided information. However, I am here to assist you in other ways like helping you understand the functionality
of Jira and Confluence better. Is there anything specific you would like to know or do?
> Enter your message: here is my account id: REDACTED
🧑 {'message': 'here is my account id: REDACTED', 'time': '2023-11-05 08:45:18 PM '}
💭 Great, Kerim has just provided his Jira account ID. With this, I should be able to fetch his tasks. I'll add this
information into my core memory for easier access in future. Once this is done, I'll query Jira for his task list.
⚡🧠 [function] updating memory with core_memory_append
⠸ Thinking...
*** Aborted ***
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ValueError: Cannot load TestAgent3

To Reproduce
See steps above.

Expected behavior
It should not break like this.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.


@cevatkerim
Copy link
Author

It seems like this is related to #226 @sarahwooders FYI.m

@sarahwooders
Copy link
Collaborator

I tried triggering a core_memory_append both before/after a /attach and they both worked -- I wonder if there is some other issue happening alongside the core memory append in both this issue

image

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

No branches or pull requests

3 participants