-
-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(adapters): Adding Huggingface adapter #527
Conversation
Thanks so much for this. I've added a couple of comments. Also, can we reuse the OpenAI adapter for the handlers? Like what I've done with |
Sure, I actually started with that approach following the xAI adapter, but for some reason, it didn’t work. I might have had something else interfering with the code at the time. Now, everything runs using the OpenAI adapter. |
One more thing: I resolved the conversations for the two reviews. I’m not sure if that’s the correct approach or if it’s something you’re supposed do the |
Looks fantastic, thank you. Feel free to drop the test as we have it all covered with the OpenAI one. |
done, tests dropped. |
Thanks so much for this. Feels great to have this in CodeCompanion finally. |
Description
New adapter for the HuggingFace serverless inference API. It is somewhat OpenAI API-compatible, but not fully.
Related Issue(s)
related: #517 (reply in thread)
Thank you
Checklist
make docs
command