Тест проектного канала: is_enabled задаётся явно (по умолчанию теперь false)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -230,7 +230,7 @@ d("консольные агенты (временная БД, фейковый
|
|||||||
calls = [];
|
calls = [];
|
||||||
const posted: string[] = [];
|
const posted: string[] = [];
|
||||||
script = [ok("## Ответ менеджеру\nответ проект llmtest\n## Память\nм7")];
|
script = [ok("## Ответ менеджеру\nответ проект llmtest\n## Память\nм7")];
|
||||||
await db.pool.query("insert into project_channel (channel_id, jt_job_id, channel_name) values ('CPROJ1','llmtest-job','proj-llmtest') on conflict do nothing");
|
await db.pool.query("insert into project_channel (channel_id, jt_job_id, channel_name, is_enabled) values ('CPROJ1','llmtest-job','proj-llmtest', true) on conflict do nothing");
|
||||||
const deps = {
|
const deps = {
|
||||||
ctx: ctx(), timezone: "America/New_York",
|
ctx: ctx(), timezone: "America/New_York",
|
||||||
slack: { postMessage: async (_c: string, t: string) => { posted.push(t); return true; }, fileInfo: async () => null, download: async () => 0 },
|
slack: { postMessage: async (_c: string, t: string) => { posted.push(t); return true; }, fileInfo: async () => null, download: async () => 0 },
|
||||||
|
|||||||
Reference in New Issue
Block a user