Skip to content

Commit 7e11851

Browse files
committed
fix(ci): move pr-agent config to .pr_agent.toml
1 parent 1e89e81 commit 7e11851

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- run: uv sync --group dev
4040
- run: uv run ruff check .
4141
- run: uv run ruff format --check .
42-
- run: uv run pytest -m "not integration" --tb=short --cov=qwen3_embed
42+
- run: uv run pytest -m "not integration" --tb=short --cov=qwen3_embed
4343
--cov-report=xml
4444

4545
- name: Upload coverage to Codecov
@@ -93,8 +93,6 @@ jobs:
9393
env:
9494
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9595
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
96-
PR_AGENT_CONFIG__MODEL: "gemini/gemini-3-flash"
97-
PR_AGENT_CONFIG__FALLBACK_MODELS: '["gemini/gemini-1.5-flash"]'
9896
PR_REVIEWER__EXTRA_INSTRUCTIONS: ${{ env.CUSTOM_INSTRUCTIONS }}
9997
PR_CODE_SUGGESTIONS__EXTRA_INSTRUCTIONS: ${{ env.CUSTOM_INSTRUCTIONS }}
10098
PR_DESCRIPTION__EXTRA_INSTRUCTIONS: ${{ env.CUSTOM_INSTRUCTIONS }}

.pr_agent.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[config]
2+
model = "gemini/gemini-3.0-flash"
3+
fallback_models = ["gemini/gemini-1.5-flash"]

0 commit comments

Comments
 (0)