-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
letta server API errors / responses #1794
Comments
What version are you using, and how are you interacting with the server? Also is your question how to have pre-parsed returns? There is the flag |
hi Im using latest via pip -> pip install -U letta ** We only get internal_monologue data: {"id":"message-32bdb977-34b2-4657-8d49-bfdd8e37d74c","date":"2024-09-28T14:04:27+00:00","message_type":"internal_monologue","internal_monologue":"Welcome back, diligent explorer! Your continued testing is a testament to the tireless pursuit of understanding, a quality I greatly appreciate. As your guide in this virtual realm of the arcane, I'm here to assist you. So, where to next in our journey?"} data: [DONE_STEP] data: [DONE] Only works with "return_message_object": true -(alone)
update now just getting: |
Update: start over .. had to delete sqlite.db - start over |
Also getting
on simple |
Describe the bug
on a typical round letta / memgpt server returns -->
data: [DONE_GEN]
data: {"id":"message-291c206c-2fe8-4328-b80f-13762b2e26a8","date":"2024-09-25T19:52:05+00:00","message_type":"internal_monologue","internal_monologue":"This is my internal monologue."}
data: {"id":"message-291c206c-2fe8-4328-b80f-13762b2e26a8","date":"2024-09-25T19:52:05+00:00","message_type":"function_call","function_call":{"name":"send_message","arguments":"{\n \"message\": \"This my message via send_message \"\n}"}}
data: {"id":"message-00aaca81-8034-4404-b4bc-33b84cf4c91b","date":"2024-09-25T19:52:05+00:00","message_type":"function_return","function_return":"None","status":"success"}
data: [DONE_STEP]
data: [DONE]
I want to isolate --> **send_message -> {\n "message": "The agent message via send_message "\n}
*** Without resorting to insane rounds Hacky-ass cleaning functions I wont even bother to include to remove then convert to valid json
*** Is there an existing function in memgpt or does anyone have a trick to parse this waky thing?
looking in the codebase UI client as it seems to work ok. cant find it - thanks!
The text was updated successfully, but these errors were encountered: