shuxiao9058 / tabnine

An unofficial TabNine package for Emacs with TabNine Chat Supported
MIT License
33 stars 6 forks source link

Fix void function definition when using tabnine-chat #9

Closed RobotDisco closed 2 months ago

RobotDisco commented 2 months ago

This fixes the following error when using the tabnine-chat command:

"funcall: Symbol’s function definition is void: tabnine-chat-curl-get-response"

I believe this is because we were never loading this particular emacs lisp file.

To reproduce:

  1. load emacs with a properly configured tabnine plugin, logged into a professional account to enable the chat functionality.
  2. Run M-x tabnine-chat and execute any prompt (The content doesn't matter.)
  3. You will see the above error, and no request will actualyl get sent.

One fixed, the function seems to work as intended.

shuxiao9058 commented 2 months ago

Merged, thanks.