test: add tests for council config schema, prompt content, and config injection
This commit is contained in:
@@ -9,6 +9,10 @@ describe("council-member-agents", () => {
|
||||
{ model: "openai/gpt-5.3-codex", name: "GPT" },
|
||||
{ model: "anthropic/claude-opus-4-6", name: "gpt" },
|
||||
],
|
||||
retry_on_fail: 0,
|
||||
retry_failed_if_others_finished: false,
|
||||
cancel_retrying_on_quorum: true,
|
||||
stuck_threshold_seconds: 120,
|
||||
}
|
||||
//#when
|
||||
const result = registerCouncilMemberAgents(config)
|
||||
@@ -24,6 +28,10 @@ describe("council-member-agents", () => {
|
||||
{ model: "openai/gpt-5.3-codex", name: "GPT" },
|
||||
{ model: "anthropic/claude-opus-4-6", name: "Claude" },
|
||||
],
|
||||
retry_on_fail: 0,
|
||||
retry_failed_if_others_finished: false,
|
||||
cancel_retrying_on_quorum: true,
|
||||
stuck_threshold_seconds: 120,
|
||||
}
|
||||
//#when
|
||||
const result = registerCouncilMemberAgents(config)
|
||||
@@ -40,6 +48,10 @@ describe("council-member-agents", () => {
|
||||
{ model: "openai/gpt-5.3-codex", name: "GPT Codex" },
|
||||
{ model: "openai/gpt-5.3-codex", name: "Codex GPT" },
|
||||
],
|
||||
retry_on_fail: 0,
|
||||
retry_failed_if_others_finished: false,
|
||||
cancel_retrying_on_quorum: true,
|
||||
stuck_threshold_seconds: 120,
|
||||
}
|
||||
//#when
|
||||
const result = registerCouncilMemberAgents(config)
|
||||
@@ -56,6 +68,10 @@ describe("council-member-agents", () => {
|
||||
{ model: "openai/gpt-5.3-codex", name: "GPT" },
|
||||
{ model: "invalid-no-slash", name: "Invalid" },
|
||||
],
|
||||
retry_on_fail: 0,
|
||||
retry_failed_if_others_finished: false,
|
||||
cancel_retrying_on_quorum: true,
|
||||
stuck_threshold_seconds: 120,
|
||||
}
|
||||
//#when
|
||||
const result = registerCouncilMemberAgents(config)
|
||||
|
||||
Reference in New Issue
Block a user