96581dac07
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.
19 lines
624 B
TypeScript
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,
|
|
})
|
|
},
|
|
}
|
|
}
|