morph-labs / rift

Rift: an AI-native language server for your personal AI software engineer
https://morph.so
Apache License 2.0
3.07k stars 149 forks source link

Truncated 0 non-system messages due to context length overflow. #146

Open leaph opened 1 year ago

leaph commented 1 year ago

I do not get any response from the chatbot. These are the messages in the Morph Output window:

[Info - 15:22:10] [on_create] agent_cls.params_cls=<class 'rift.agents.rift_chat.RiftChatAgentParams'> [Info - 15:22:10] <LspServer 11> recieved model config chatModel='openai:gpt-3.5-turbo' completionsModel='openai:gpt-3.5-turbo' openaiKey=SecretStr('**') [Info - 15:22:10] <LspServer 11> finished loading [Info - 15:22:10] 99395114 running [Info - 15:22:20] [resolve_inline_uris] user_response='hi' [Info - 15:22:20] resolved document uris documents=[] [Info - 15:22:20] running chat [Info - 15:22:20] document list = [] [Info - 15:22:20] Truncated 0 non-system messages due to context length overflow.

leaph commented 1 year ago

after I manually restarted the server it started to work, I used these commands:

lsof -i :7797 | awk 'NR>1 {print $2}' | xargs kill