Open gcalabria opened 5 months ago
I've modified the GetAgentResponse to expect UUIDs instead, and it is working fine for me. If you want, I can open a PR
seems to be same as https://github.com/cpacker/MemGPT/issues/1664 should be fixed by https://github.com/cpacker/MemGPT/pull/1679 when merged
Describe the bug
When I send a request to the API endpoint
/api/agents/${agent_id}/config
I get the following error:I took a look and the
attached_sources
variable is a list of UUIDs but the GetAgentResponse expects a list of strings instead. The question is: should we change the GetAgentResponse pydantic model or simply convert the UUIDs to strings?Please describe your setup
git clone
memgpt
?memgpt server
Additional context The problem only happens after I attach a data source to an agent.
MemGPT Config