Closed Dakai closed 1 month ago
check wiki for custom providers, but I'm not entirely sure what the problem is.
I don't think it is about the custom provider, I am using a OpenAI compatible proxy which input and output format should be the same as OpenAI's, so I just changed the API key name and endpoint in openai.lua
, the mechanism and functions are intact.
This is not the right way to use a custom provider. You are using a custom provider. The history is not saved just because your inappropriate hacking broke the response parser and Avante cannot complete the chat.
Describe the bug
From the #516 it seems that the avante.nvim should keep a chat history and so it is what I guessed by reading the code, however, the sidebar is empty after I closed and reopen it. my config is:
To reproduce