switch to start_dependency_installation and await_dependency_installation, fix action play.ts repo

This commit is contained in:
David Blass
2025-12-19 16:29:46 -05:00
parent bd8fc8abdf
commit 5034ff8285
15 changed files with 8183 additions and 8858 deletions
+2 -2
View File
@@ -154,14 +154,14 @@ export const gemini = agent({
...(githubInstallationToken && { githubInstallationToken }),
});
},
run: async ({ payload, apiKey, mcpServers, cliPath, prepResults, repo }) => {
run: async ({ payload, apiKey, mcpServers, cliPath, repo }) => {
configureGeminiMcpServers({ mcpServers, cliPath });
if (!apiKey) {
throw new Error("google_api_key or gemini_api_key is required for gemini agent");
}
const sessionPrompt = addInstructions({ payload, prepResults, repo });
const sessionPrompt = addInstructions({ payload, repo });
log.group("» Full prompt", () => log.info(sessionPrompt));
// configure sandbox mode if enabled