I am trying to save the chat in a file after each response. For some reason when CopiltChatSave is present in the callback function the callback function is only called once in a minute or so.
I can manually spam : CopilotCatSave test and it works every time. What am I missing with the callback approach?
callback = function()
require("CopilotChat").save("test")
print("Chat saved to: test")
end, -- Callback to use when ask response is received
I am trying to save the chat in a file after each response. For some reason when
CopiltChatSave
is present in the callback function the callback function is only called once in a minute or so.I can manually spam
: CopilotCatSave test
and it works every time. What am I missing with the callback approach?