ci: 接入 PR Agent(qwen-max,非阻塞自动 review)#388
Merged
Merged
Conversation
自动 PR review:模型走自建 OpenAI 兼容端点 ai.leeguoo.com 的 qwen-max(litellm openai/ 前缀路由), key/base 存 GitHub Secret(PR_AGENT_OPENAI_KEY / PR_AGENT_OPENAI_API_BASE),不进代码。 - 非阻塞:continue-on-error,端点随时会挂也不让 PR 变红/拦合并;不加入 required checks。 - 只自动跑 review + improve(代码建议),describe 关掉(PR 描述我们自己写得够详,省 token)。 - 中文 review(response_language=zh-cn);同仓库分支 PR 才拿 secret,fork PR 自动 no-op(不用 pull_request_target,安全)。 - 版本 pin 0.39.0-github_action,dependabot 后续跟。
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
runner 显式读 OPENAI_KEY/OPENAI.KEY,双下划线那个多余。pr-agent 在 #388 自审时挑出,采纳。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
接入开源 PR-Agent(MIT)做自动 PR review,非阻塞(随时会挂不拦合并)。
openai/前缀),key/base 存 GitHub Secret 不进代码。continue-on-error、不加 required checks;端点挂了 PR 不会变红。0.39.0-github_action。🤖 owner 指示接入。