fix: more qodo fixes
This commit is contained in:
parent
3efba6d575
commit
24eea1d08e
19
.github/workflows/qodo_review.yml
vendored
19
.github/workflows/qodo_review.yml
vendored
@ -13,18 +13,17 @@ jobs:
|
||||
env:
|
||||
CONFIG.GIT_PROVIDER: "gitea"
|
||||
|
||||
GITEA.URL: "https://git.gophernest.net"
|
||||
GITEA.PERSONAL_ACCESS_TOKEN: ${{ secrets.GIT_TOKEN }}
|
||||
GITEA__URL: "https://git.gophernest.net"
|
||||
GITEA__PERSONAL_ACCESS_TOKEN: ${{ secrets.GIT_TOKEN }}
|
||||
|
||||
# MANDATORY: Even on Gitea, the Action wrapper often looks for this name
|
||||
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
|
||||
|
||||
# KEY CHANGE: The variable name MUST be this for AI Studio
|
||||
GOOGLE_AI_STUDIO.GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
|
||||
# AI Provider (CRITICAL: Use double underscores)
|
||||
CONFIG__MODEL_PROVIDER: "google"
|
||||
GOOGLE_AI_STUDIO__GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
|
||||
CONFIG__MODEL: "gemini/gemini-1.5-flash"
|
||||
|
||||
# KEY CHANGE: The model name MUST have the 'gemini/' prefix
|
||||
CONFIG.MODEL: "gemini/gemini-3-flash"
|
||||
|
||||
# Ensures it runs even if you just push code to an existing PR
|
||||
GITEA.PR_OPENED_COMMANDS: '["/review", "/describe"]'
|
||||
GITEA.PR_SYNCHRONIZED_COMMANDS: '["/review"]'
|
||||
# Automation Triggers
|
||||
GITEA__PR_OPENED_COMMANDS: '["/review", "/describe"]'
|
||||
GITEA__PR_SYNCHRONIZED_COMMANDS: '["/review"]'
|
||||
|
||||
5
.pr_agent.toml
Normal file
5
.pr_agent.toml
Normal file
@ -0,0 +1,5 @@
|
||||
[pr_reviewer]
|
||||
extra_instructions = "This is a Go project for a terminal-based text editor. Focus on performance, memory management, and clean TUI (Terminal User Interface) logic."
|
||||
|
||||
[pr_description]
|
||||
publish_description_as_comment = true
|
||||
Loading…
x
Reference in New Issue
Block a user