Files
noco-auto/backend/test/chat.ts
abearxiong 22fac88d01 优化noco-agent功能和修复相关问题
- 修复Core类中的类型定义和拼写错误
- 添加tableId参数支持到NocoLifeService
- 优化认证逻辑,支持环境变量配置
- 增强配置功能,返回当前配置信息
- 改进任务完成功能,支持批量操作
- 添加记录创建和更新功能
- 更新依赖包版本
- 修复导出类型定义

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-10 17:46:45 +08:00

20 lines
674 B
TypeScript
Raw 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完成了',
token: token,
},
})
console.log('res', res.code, res.body, res.message);