fix: use TopologyKind alias to keep LoopsWizard under 1250 lines
This commit is contained in:
@@ -26,6 +26,7 @@ import { RepoPicker, type PickedRepo } from "./RepoPicker";
|
|||||||
import {
|
import {
|
||||||
autoProvisionTeam,
|
autoProvisionTeam,
|
||||||
type AutoProvisionResponse,
|
type AutoProvisionResponse,
|
||||||
|
type TopologyKind,
|
||||||
} from "@/lib/api/research";
|
} from "@/lib/api/research";
|
||||||
import { AutoProvisionCard } from "./AutoProvisionCard";
|
import { AutoProvisionCard } from "./AutoProvisionCard";
|
||||||
// Do NOT import @/lib/api/team here — it transitively pulls bearer.ts
|
// Do NOT import @/lib/api/team here — it transitively pulls bearer.ts
|
||||||
@@ -187,11 +188,7 @@ export function LoopsWizard({
|
|||||||
// Loops don't map to a formal outcome_kind — "prod_plan" is the
|
// Loops don't map to a formal outcome_kind — "prod_plan" is the
|
||||||
// most neutral choice for the LLM-derived role prompt.
|
// most neutral choice for the LLM-derived role prompt.
|
||||||
outcome_kind: "prod_plan",
|
outcome_kind: "prod_plan",
|
||||||
topology_kind: (kind as
|
topology_kind: (kind as TopologyKind) || undefined,
|
||||||
| "hub_spoke"
|
|
||||||
| "pipeline"
|
|
||||||
| "hierarchical"
|
|
||||||
| "star_moe") || undefined,
|
|
||||||
model: "claude-sonnet-5",
|
model: "claude-sonnet-5",
|
||||||
});
|
});
|
||||||
setAutoTeam(r);
|
setAutoTeam(r);
|
||||||
|
|||||||
Reference in New Issue
Block a user