summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/copilot.yml4
-rw-r--r--g4f/models.py13
2 files changed, 15 insertions, 2 deletions
diff --git a/.github/workflows/copilot.yml b/.github/workflows/copilot.yml
index 7ec17ba6..1de81cb6 100644
--- a/.github/workflows/copilot.yml
+++ b/.github/workflows/copilot.yml
@@ -25,5 +25,5 @@ jobs:
run: pip install PyGithub
- name: AI Code Review
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: python -m etc.tool.copilot \ No newline at end of file
+ GITHUB_TOKEN: ${{ secrets.COPILOT_TOKEN }}
+ run: python -m etc.tool.copilot
diff --git a/g4f/models.py b/g4f/models.py
index dd6e0a2c..40a72d77 100644
--- a/g4f/models.py
+++ b/g4f/models.py
@@ -130,6 +130,14 @@ mistral_7b = Model(
best_provider = RetryProvider([DeepInfra, HuggingChat])
)
+# Dolphin
+dolphin_mixtral_8x7b = Model(
+ name = "cognitivecomputations/dolphin-2.6-mixtral-8x7b",
+ base_provider = "huggingface",
+ best_provider = DeepInfra
+)
+
+# OpenChat
openchat_35 = Model(
name = "openchat/openchat_3.5",
base_provider = "huggingface",
@@ -337,6 +345,11 @@ class ModelUtils:
# Mistral
'mixtral-8x7b': mixtral_8x7b,
'mistral-7b': mistral_7b,
+
+ # Dolphin
+ 'dolphin-mixtral-8x7b': dolphin_mixtral_8x7b,
+
+ # OpenChat
'openchat_3.5': openchat_35,
# Gemini Pro