Skip to content

Support custom AI service (INCL. url or model name) and optimize prompt #28

Support custom AI service (INCL. url or model name) and optimize prompt

Support custom AI service (INCL. url or model name) and optimize prompt #28

Triggered via pull request February 9, 2024 10:12
@YunYouJunYunYouJun
synchronize #2
Okysu:main
Status Failure
Total duration 28s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
lint: packages/ai/src/api.ts#L48
Missing trailing comma
lint
Process completed with exit code 1.
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
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/.
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/.