On 8/7/2026 11:11 AM, Chengwen Feng wrote: > From: Chengwen Feng <[email protected]> > > Currently review-patch.py only supports cloud AI providers > (Anthropic, OpenAI, xAI, Google) via REST API, requiring API keys. > > Add a --via option that invokes the locally installed opencode CLI as > the review runner instead of making HTTP calls. opencode reads > AGENTS.md from the DPDK project directory automatically, needing no > configuration beyond opencode on PATH. > > The --via and -p/--provider options are independent -- via routes to > the local agent mode while -p continues to use the cloud API path. > > Signed-off-by: Chengwen Feng <[email protected]> > Acked-by: Morten Brørup <[email protected]> > --- > v5: Use linux.dev mailbox to send email and update mailmap > v4: Fix AI review comments with Claude Opus which provided by Stephen > v3: Rebase main to fix apply error > v2: Address comments from Stephen, including: not arise > FileNotFoundError and more clarify. > > --- > .mailmap | 2 +- > devtools/ai/review-patch.py | 305 ++++++++++++++++++++++------ > doc/guides/contributing/patches.rst | 10 + > 3 files changed, 249 insertions(+), 68 deletions(-) > > diff --git a/.mailmap b/.mailmap > index fcb3d1bb3f..d86a09b5b3 100644 > --- a/.mailmap > +++ b/.mailmap > @@ -270,7 +270,7 @@ Chengfei Han <[email protected]> > Chengfeng Ye <[email protected]> > Chenghu Yao <[email protected]> > Chenglian Sun <[email protected]> > -Chengwen Feng <[email protected]> > +Chengwen Feng <[email protected]> <[email protected]>
For this new email address: Acked-by: Chengwen Feng <[email protected]>

