Skip to content

feat: support custom AI service #2 #29

feat: support custom AI service #2

feat: support custom AI service #2 #29

Triggered via push February 9, 2024 10:13
Status Failure
Total duration 29s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
typecheck: packages/ai/src/api.ts#L47
Property 'join' does not exist on type '"\n请根据我的提示生成一组春联,包含上联、下联各一句,每句字数在五到十三字之间,上下联字数相同,并附上一个恰当的不超过五个字的横批。\n并给出一个字总结。\n不要使用生僻字和标点符号。\n格式类型:{\n \"上联\": \"\",\n \"下联\": \"\",\n \"横批\": \"\",\n \"总结\": \"\"\n}\n直接给出可以被 JSON.parse 解析的字符串,不需要解释内容。"'.
typecheck
Process completed with exit code 1.
lint: packages/ai/src/api.ts#L48
Missing trailing comma
lint
Process completed with exit code 1.
typecheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.