Skip to content

Commit f15661f

Browse files
set auto replay robot for issues opened by repo users
1 parent 90449fc commit f15661f

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/g4f-issue-reply.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929
run: |
3030
python -m pip install --upgrade pip
3131
pip install -U "g4f[all]" requests openai
32+
33+
- name: Create g4f Dirs
34+
run: mkdir -p ~/.g4f/cookies
3235

3336
- name: Generate and Post Issue Reply
3437
env:

scripts/g4f_issue_reply.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
'''G4FIssueReplyBot'''
2323
class G4FIssueReplyBot:
2424
BOT_MARKER = "<!-- g4f-issue-auto-reply -->"
25-
DEFAULT_MODELS = ["gpt-4o-mini", "gpt-4o", "gpt-4", "qwen-2.5-coder-32b", "qwen-2.5-72b", "llama-3.1-70b", "llama-3.1-8b", "gemini-1.5-flash", "gemini-1.5-pro"]
25+
DEFAULT_MODELS = ["gpt-4.1-nano", "deepseek-r1", "llama-4-scout", "mistral-small-3.1-24b", "qwen-3-4b", "qwen-3-1.7b", "qwen-3-0.6b", "phi-4", "command-r7b", "llama-3.2-1b", "llama-3.1-8b", "gpt-4o-mini"]
2626
SKIP_LABELS = {"no-bot", "ai-ignore", "bot-ignore", "skip-ai", "skip-bot"}
2727
PROVIDER_ERROR_PHRASES = ["missingautherror", "api key required", "rate limit", "cloudflare", "provider not working", "error occurred"]
2828
CONTEXT_FILES = [("README.md", 8000), ("docs/Quickstart.md", 4000)]

0 commit comments

Comments
 (0)