Split Face turn and support model lanes
This commit is contained in:
parent
ccb590cfbd
commit
58624a6bb6
11 changed files with 42 additions and 20 deletions
|
|
@ -119,6 +119,7 @@ const envSchema = z.object({
|
|||
REPO_FACE_HEARTBEAT_HEAT_OVERRIDES: z.string().default(""),
|
||||
REPO_FACE_HEARTBEAT_CODEX_MODEL: z.string().min(1).default("gpt-5.3-codex-spark"),
|
||||
REPO_FACE_HEARTBEAT_CODEX_MODELS: z.string().default("gpt-5.3-codex-spark,gpt-5.4-mini"),
|
||||
REPO_FACE_TURN_CODEX_MODEL: z.string().min(1).default("gpt-5.4"),
|
||||
REPO_FACE_HEARTBEAT_CODEX_REASONING_EFFORT: z
|
||||
.enum(["low", "medium", "high", "xhigh"])
|
||||
.optional(),
|
||||
|
|
@ -177,6 +178,7 @@ export interface AppConfig {
|
|||
heatOverrides: Record<string, number>;
|
||||
codexModel?: string;
|
||||
codexModels: string[];
|
||||
turnCodexModel: string;
|
||||
codexModelReasoningEffort?: "low" | "medium" | "high" | "xhigh";
|
||||
stateProjectorEnabled: boolean;
|
||||
};
|
||||
|
|
@ -404,6 +406,7 @@ export function loadConfig(env: NodeJS.ProcessEnv = process.env): AppConfig {
|
|||
codexModels: parseList(parsed.REPO_FACE_HEARTBEAT_CODEX_MODELS).length > 0
|
||||
? parseList(parsed.REPO_FACE_HEARTBEAT_CODEX_MODELS)
|
||||
: [parsed.REPO_FACE_HEARTBEAT_CODEX_MODEL],
|
||||
turnCodexModel: parsed.REPO_FACE_TURN_CODEX_MODEL,
|
||||
codexModelReasoningEffort: parsed.REPO_FACE_HEARTBEAT_CODEX_REASONING_EFFORT,
|
||||
stateProjectorEnabled: parsed.REPO_FACE_STATE_PROJECTOR_ENABLED,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue