improve agents external integration

This commit is contained in:
David Blass
2025-11-20 13:54:29 -05:00
parent 9c51c450bc
commit 917b8804c0
10 changed files with 40 additions and 30 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ async function run(): Promise<void> {
prompt: core.getInput("prompt", { required: true }),
agent: core.getInput("agent") ? AgentName.assert(core.getInput("agent")) : undefined,
...flatMorph(agents, (_, agent) =>
agent.inputKeys.map((inputKey) => [inputKey, core.getInput(inputKey)])
agent.apiKeyNames.map((inputKey) => [inputKey, core.getInput(inputKey)])
),
};