generated from template/apps-template
优化noco-agent功能和修复相关问题
- 修复Core类中的类型定义和拼写错误 - 添加tableId参数支持到NocoLifeService - 优化认证逻辑,支持环境变量配置 - 增强配置功能,返回当前配置信息 - 改进任务完成功能,支持批量操作 - 添加记录创建和更新功能 - 更新依赖包版本 - 修复导出类型定义 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { app, sleep } from './common';
|
||||
import { app, sleep, token } from './common.ts';
|
||||
|
||||
|
||||
const res = await app.call({
|
||||
@@ -8,8 +8,13 @@ const res = await app.call({
|
||||
// question: '今天我需要做什么事情?',
|
||||
// question: '任务5 完成了,帮我判断下一次运行时间应该是什么时候?',
|
||||
// question: '任务59 完成了',
|
||||
question: '我的多维表格配置'
|
||||
}
|
||||
// question: '我的多维表格配置'
|
||||
// question: '记录一下,今天洗了澡',
|
||||
// question: '编辑任务123,进行补充, 对opencode进行描述介绍。',
|
||||
// question: '编辑任务94,对内容注释',
|
||||
question: '任务59和124完成了',
|
||||
token: token,
|
||||
},
|
||||
})
|
||||
|
||||
console.log('res', res.code, res.body, res.message);
|
||||
@@ -6,13 +6,15 @@ import { BailianProvider } from '@kevisual/ai';
|
||||
import dotenv from 'dotenv';
|
||||
dotenv.config();
|
||||
console.log('process.env.BAILIAN_API_KEY', process.env.BAILIAN_API_KEY);
|
||||
const token = process.env.KEVISUAL_API_TOKEN || '';
|
||||
const ai = useContextKey('ai', () => {
|
||||
return new BailianProvider({
|
||||
apiKey: process.env.BAILIAN_API_KEY || '',
|
||||
model: 'qwen-turbo'
|
||||
model: 'qwen-plus'
|
||||
});
|
||||
});
|
||||
export {
|
||||
app,
|
||||
ai,
|
||||
token,
|
||||
}
|
||||
Reference in New Issue
Block a user