forked from EduCraft/curriculum-project-hub
feat: add deployable alpha silo
This commit is contained in:
@@ -30,8 +30,14 @@ describe("runtime settings", () => {
|
||||
it("honors HUB_AGENT_MAX_TURNS as a runtime run policy", async () => {
|
||||
const settings = createEnvRuntimeSettings({
|
||||
HUB_AGENT_MAX_TURNS: "9",
|
||||
HUB_AGENT_MAX_CONCURRENT_RUNS: "2",
|
||||
HUB_AGENT_MAX_RUN_SECONDS: "600",
|
||||
});
|
||||
|
||||
await expect(settings.runPolicy({ projectId: "p", roleId: "draft" })).resolves.toEqual({ maxTurns: 9 });
|
||||
await expect(settings.runPolicy({ projectId: "p", roleId: "draft" })).resolves.toEqual({
|
||||
maxTurns: 9,
|
||||
maxConcurrentRuns: 2,
|
||||
maxRunSeconds: 600,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user