Files
noco-auto/backend/test/chat.ts

21 lines
712 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { app, sleep, token } from './common.ts';
const res = await app.call({
path: 'noco-life',
key: "chat",
payload: {
// question: '今天我需要做什么事情?',
// question: '任务5 完成了,帮我判断下一次运行时间应该是什么时候?',
// question: '任务59 完成了',
// question: '我的多维表格配置'
// question: '记录一下,今天洗了澡',
// question: '编辑任务123进行补充, 对opencode进行描述介绍。',
// question: '编辑任务94对内容注释',
// question: '任务59和124完成了',
question: '任务 126 完成',
token: token,
},
})
console.log('res', res.code, res.body, res.message);