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

Getting errors with storing date to memory using textgen API #162

Closed
oderwat opened this issue Oct 28, 2023 · 3 comments
Closed

Getting errors with storing date to memory using textgen API #162

oderwat opened this issue Oct 28, 2023 · 3 comments

Comments

@oderwat
Copy link
Contributor

oderwat commented Oct 28, 2023

I wonder if this is a problem with my setup and if I can fix it (and how):

FUNCTION RETURN: {"status": "OK", "message": null, "time": "2023-10-28 05:56:00 AM PDT-0700"}
USER: Hi, my name is hans, please store this in your memory
ASSISTANT:
{
  "function": "core_memory_append",
  "params": {
    "inner_thoughts": "Storing new information about the user. The human's name is Hans.",
    "name": "human",
    "content": "First name: Hans"
  }
}
FUNCTION RETURN: {"status": "Failed", "message": "Error calling function core_memory_append with args {'name': 'human', 'content': 'First name: Hans'}: object NoneType can't be used in 'await' expression", "time": "2023-10-28 05:56:16 AM PDT-0700"}
USER:
    "inner_thoughts": "Encountered an unexpected error while processing the user's request. Trying to recover...",
    "message": "Apologies, it seems there was a temporary issue with updating your details. Please bear with me while I resolve this."
  }
}
@elijahsmith
Copy link

+1, seems to have been introduced in this commit 45692f4

@cpacker
Copy link
Collaborator

cpacker commented Oct 29, 2023

+1, seems to have been introduced in this commit 45692f4

Thanks for catching this, looking into it and will patch ASAP.

@cpacker
Copy link
Collaborator

cpacker commented Oct 29, 2023

This should be fixed in the latest package (0.1.8):

image
$ pip list | grep pymemgpt
pymemgpt                      0.1.8

Please reopen if you run into the same issue again! Thank you for the bug reports 🙏

@cpacker cpacker closed this as completed Oct 29, 2023
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