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

Can't edit data source #1588

Closed
5 tasks
FellowTraveler opened this issue Jul 28, 2024 · 3 comments
Closed
5 tasks

Can't edit data source #1588

FellowTraveler opened this issue Jul 28, 2024 · 3 comments
Assignees
Labels
auto-closed bug Something isn't working

Comments

@FellowTraveler
Copy link

FellowTraveler commented Jul 28, 2024

Describe the bug
A clear and concise description of what the bug is.
image

^^^^^ NOTICE the error message in the lower right of the image.

Trying to change (EDIT) a data source, acts like there's a failure CREATING it. See above error message. This shows up in the log each time you click "edit" (which should be "save" button):

INFO:     ::1:59448 - "POST /api/sources/bd63a217-f153-41b0-a9f4-0d66ca29fe26 HTTP/1.1" 405 Method Not Allowed
INFO:     ::1:59448 - "POST /api/sources/bd63a217-f153-41b0-a9f4-0d66ca29fe26 HTTP/1.1" 405 Method Not Allowed
INFO:     ::1:59457 - "POST /api/sources/bd63a217-f153-41b0-a9f4-0d66ca29fe26 HTTP/1.1" 405 Method Not Allowed

Please describe your setup

  • How did you install memgpt?
    • pip install pymemgpt? pip install pymemgpt-nightly? git clone?

git clone, pip install -e .

  • Describe your setup
    • What's your OS (Windows/MacOS/Linux)?
    • How are you running memgpt? (cmd.exe/Powershell/Anaconda Shell/Terminal)

MacOS Silicon Sonoma 14.3
I'm running memgpt from the terminal in its own Conda environment.

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

Additional context
Add any other context about the problem here.

MemGPT Config
Please attach your ~/.memgpt/config file or copy past it below.

[defaults]
preset = memgpt_chat
persona = sam_pov
human = basic

[model]
model = gpt-4o-mini-2024-07-18
model_endpoint = https://api.openai.com/v1
model_endpoint_type = openai
context_window = 128000

[embedding]
embedding_endpoint_type = openai
embedding_endpoint = https://api.openai.com/v1
embedding_model = text-embedding-ada-002
embedding_dim = 1536
embedding_chunk_size = 300

[archival_storage]
type = chroma
path = /Users/au/.memgpt/chroma

[recall_storage]
type = sqlite
path = /Users/au/.memgpt

[metadata_storage]
type = sqlite
path = /Users/au/.memgpt

[version]
memgpt_version = 0.3.21

[client]
anon_clientid = 00000000-0000-0000-0000-000000000000


If you're not using OpenAI, please provide additional information on your local LLM setup:

Local LLM details

If you are trying to run MemGPT with local LLMs, please provide the following information:

  • The exact model you're trying to use (e.g. dolphin-2.1-mistral-7b.Q6_K.gguf)
  • The local LLM backend you are using (web UI? LM Studio?)
  • Your hardware for the local LLM backend (local computer? operating system? remote RunPod?)
@sarahwooders
Copy link
Collaborator

Thanks for reporting this! Are you able to create data sources via the CLI? We'll try to get a fix out for this soon.

@jward92
Copy link
Contributor

jward92 commented Jul 31, 2024

@sarahwooders hope it's ok but I took a shot at fixing this: #1599

Copy link

github-actions bot commented Dec 6, 2024

This issue has been automatically closed due to 60 days of inactivity.

@github-actions github-actions bot closed this as completed Dec 6, 2024
@github-project-automation github-project-automation bot moved this from To triage to Done in 🐛 MemGPT issue tracker Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-closed bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants