From 18ecab18df7ca5014564c9b02b4d13fe09364711 Mon Sep 17 00:00:00 2001 From: Gabe Date: Fri, 17 Oct 2025 12:56:26 +0800 Subject: [PATCH] fix: api doc --- custom-api_v2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom-api_v2.md b/custom-api_v2.md index 6887920..996ee4d 100644 --- a/custom-api_v2.md +++ b/custom-api_v2.md @@ -149,7 +149,7 @@ async ({ res }) => { v2.0.2 版后内置`parseAIRes`函数,Response Hook 可以简化为: ```js -async ({ res, parseAIRes, }) => { +async ({ res, parseAIRes }) => { const translations = parseAIRes(res?.choices?.[0]?.message?.content); return { translations }; };