Add Clarity Token to Copilot, (#2482)

* Add Clarity Token to Copilot,
Ignore disabled providers in gui,
Read cookie files after upload
* Add more chat templates to HuggingFace
This commit is contained in:
H Lohaus 2024-12-14 19:56:36 +01:00 committed by GitHub
parent 335c971f6a
commit a591c5d409
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 113 additions and 43 deletions

View file

@ -106,6 +106,9 @@ class Api:
if provider in conversations and conversation_id in conversations[provider]:
kwargs["conversation"] = conversations[provider][conversation_id]
if json_data.get("ignored"):
kwargs["ignored"] = json_data["ignored"]
return {
"model": model,
"provider": provider,