fix: api doc

This commit is contained in:
Gabe
2025-10-17 12:56:26 +08:00
parent 793c481221
commit 18ecab18df

View File

@@ -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 };
};