From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by smtp.lore.kernel.org (Postfix) with ESMTP id ADD3FC55838 for ; Tue, 4 Aug 2026 12:22:52 +0000 (UTC) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 685B940144; Tue, 4 Aug 2026 14:22:51 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 27A1A400D7 for ; Tue, 4 Aug 2026 14:22:50 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id D64712051A; Tue, 4 Aug 2026 14:22:47 +0200 (CEST) Content-class: urn:content-classes:message Subject: RE: [PATCH v3] devtools: support local opencode agent for patch review MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Tue, 4 Aug 2026 14:22:47 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35F659B6@smartserver.smartshare.dk> X-MimeOLE: Produced By Microsoft Exchange V6.5 In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v3] devtools: support local opencode agent for patch review Thread-Index: Ad0cEbsvypzZdgElSeSY+6l1BCB7pAH+bv/w References: <20260703091902.525837-1-datshan@qq.com> From: =?iso-8859-1?Q?Morten_Br=F8rup?= To: , , Cc: , X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > From: datshan@qq.com [mailto:datshan@qq.com] > Sent: Saturday, 25 July 2026 10.44 > From: Chengwen Feng >=20 > Currently review-patch.py only supports cloud AI providers > (Anthropic, OpenAI, xAI, Google) via REST API, requiring API keys. >=20 > 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. >=20 > The --via and -p/--provider options are independent -- via routes to > the local agent mode while -p continues to use the cloud API path. >=20 > Signed-off-by: Chengwen Feng >=20 > --- > v3: Rebase main to fix apply error > v2: Address comments from Stephen, including: not arise > FileNotFoundError and more clarify. > --- I have only skimmed this, but the concept of local agent support deserves a big fat: Acked-by: Morten Br=F8rup