Files
oh-my-opencode/src/tools/athena-council/council-launcher.ts
T
ismeth 96581dac07 fix(athena): remove dead temperature/permission fields from council launch pipeline
LaunchInput.temperature and LaunchInput.permission were accepted and
passed through the council orchestrator but never forwarded to the
actual promptAsync API call (SDK doesn't support per-request temperature
or permission). Remove the dead fields, the unused AthenaConfig
interface, and update tests/docs/schema accordingly.
2026-04-15 15:49:07 +09:00

19 lines
624 B
TypeScript

import type { CouncilLauncher, CouncilLaunchInput } from "../../agents/athena/council-orchestrator"
import type { BackgroundManager } from "../../features/background-agent"
export function createCouncilLauncher(manager: BackgroundManager): CouncilLauncher {
return {
launch(input: CouncilLaunchInput) {
return manager.launch({
description: input.description,
prompt: input.prompt,
agent: input.agent,
parentSessionID: input.parentSessionID,
parentMessageID: input.parentMessageID,
parentAgent: input.parentAgent,
model: input.model,
})
},
}
}