Skip to content

ref(config): Migrate from Pydantic to dature for configuration loading #25

ref(config): Migrate from Pydantic to dature for configuration loading

ref(config): Migrate from Pydantic to dature for configuration loading #25

Workflow file for this run

name: PR Agent
on:
pull_request:
types: [opened, reopened, ready_for_review]
issue_comment:
jobs:
pr_agent_job:
if: ${{ github.event.sender.type != 'Bot' }}
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
contents: write
name: Run pr agent on every pull request, respond to user comments
steps:
- name: PR Agent action step
uses: arynyklas/pr-agent@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
config.model: "ollama/kimi-k2.5:cloud"
config.fallback_models: '["ollama/kimi-k2.5:cloud"]'
config.large_patch_policy: "clip"
config.max_model_tokens: "256000"
config.patch_extra_lines_before: "3"
config.patch_extra_lines_after: "1"
config.custom_model_max_tokens: "256000"
ollama.API_BASE: "https://ollama.com"
ollama.API_KEY: ${{ secrets.PR_AGENT_API_KEY }}
github_action_config.auto_review: "true"
github_action_config.auto_describe: "true"
github_action_config.auto_improve: "true"
github_action_config.pr_actions: '["opened", "reopened", "ready_for_review", "review_requested"]'