You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the /v1/chat/completions API and I am getting a python error send_message_to_agent() missing 1 required positional argument: 'stream_legacy'#1591
Closed
5 tasks
vysona-scott opened this issue
Jul 29, 2024
· 0 comments
How are you running memgpt? (cmd.exe/Powershell/Anaconda Shell/Terminal)
- dotenv run -- memgpt server Screenshots
If applicable, add screenshots to help explain your problem.
Pylance output
Describe the bug
A clear and concise description of what the bug is.
Using the /v1/chat/completions API and I am getting a python error
send_message_to_agent() missing 1 required positional argument: 'stream_legacy'
It looks like the method that implements this API https://github.com/cpacker/MemGPT/blob/main/memgpt/server/rest_api/openai_chat_completions/chat_completions.py#L73C4-L82C14 requires a boolean to be set that does not have a default value https://github.com/cpacker/MemGPT/blob/main/memgpt/server/rest_api/agents/message.py#L90C1-L91C1 .
Please describe your setup
memgpt
? (cmd.exe
/Powershell/Anaconda Shell/Terminal)- dotenv run -- memgpt server
Screenshots
If applicable, add screenshots to help explain your problem.
Pylance output
Additional context
MemGPT Config
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:
dolphin-2.1-mistral-7b.Q6_K.gguf
)The text was updated successfully, but these errors were encountered: