mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-16 20:45:33 -08:00
Add the agent-less setup page, a shared agent list and the split Agents & models tab
AI Assisted
This commit is contained in:
1 parent
c122332657
commit
33f1783979
55 files changed
+5453
-1345
No files matched your search
@@ -553,7 +553,7 @@ test("agents: no file is an empty list, a save is written whole and keeps unknow
|
||||
fs.rmSync(file, { force: true });
|
||||
const get = async () => (await fetch(baseUrl + "/agents", { headers: { cookie: cookieFor(baseUrl, token) } })).json();
|
||||
|
||||
assert.deepEqual(await get(), { agents: [], warnings: [] }, "no file");
|
||||
assert.deepEqual(await get(), { agents: [], warnings: [], builtins: [], templates: [] }, "no file");
|
||||
fs.mkdirSync(MODELS_DIR, { recursive: true });
|
||||
fs.writeFileSync(file, "{ \"schema\": 1, \"agents\": [");
|
||||
const broken = await get();
|
||||
|
||||
Reference in new issue
Block a user