karthink / gptel

A simple LLM client for Emacs
GNU General Public License v3.0
1.06k stars 116 forks source link

migrate to TabNine #91

Closed shuxiao9058 closed 12 months ago

shuxiao9058 commented 12 months ago

Hi, @karthink , thanks for your awesome work.

I want to pick some code from this project to support the TabNine Chat , do you mind?

This is the TabNine repo for Emacs: https://github.com/shuxiao9058/tabnine

karthink commented 12 months ago

@shuxiao9058 I see that the tabnine package is MIT-licensed. This repo is GPL3, so you can't reuse more than a few lines of code.

However I just picked GPL3 as a default, and wouldn't mind switching to MIT if you plan to reuse a large chunk. Please let me know.

Out of curiosity, what code are you planning to pick?

shuxiao9058 commented 12 months ago

I want to use the gptel curl and gptel buffer render the chat result, and it seems that a lot codes will be picked.

shuxiao9058 commented 12 months ago

Hi, @karthink

The latest code of TabNine for emacs is updated, you can have a view.

karthink commented 12 months ago

Cool. Do you want to license tabnine as GPL3, or should I switch to the MIT license? (I would prefer for gptel to remain GPL3 licensed, but it's not a strong preference.)

shuxiao9058 commented 12 months ago

I don't mind the license, but I will try switch the project's license from MIT to GPLv3.

The discussion is at https://github.com/shuxiao9058/tabnine/issues/3