fix agents
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
|||||||
create a comment on https://github.com/pullfrogai/scratch/pull/29 that says ribbit ribbit
|
create a comment on https://github.com/pullfrogai/scratch/pull/29 that says GEM ribbit
|
||||||
+1
-1
@@ -10,7 +10,7 @@ import { ghPullfrogMcpName } from "./index.ts";
|
|||||||
|
|
||||||
export type McpName = typeof ghPullfrogMcpName;
|
export type McpName = typeof ghPullfrogMcpName;
|
||||||
|
|
||||||
export type McpConfigs = Record<McpName, McpServerConfig>;
|
export type McpConfigs = Record<McpName, McpStdioServerConfig>;
|
||||||
|
|
||||||
export function createMcpConfigs(githubInstallationToken: string): McpConfigs {
|
export function createMcpConfigs(githubInstallationToken: string): McpConfigs {
|
||||||
const repoContext = parseRepoContext();
|
const repoContext = parseRepoContext();
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ export async function run(
|
|||||||
|
|
||||||
const inputs: Required<Inputs> = {
|
const inputs: Required<Inputs> = {
|
||||||
prompt,
|
prompt,
|
||||||
agent: "cursor",
|
agent: "gemini",
|
||||||
...flatMorph(agents, (_, agent) =>
|
...flatMorph(agents, (_, agent) =>
|
||||||
agent.inputKeys.map((inputKey) => [inputKey, process.env[inputKey.toUpperCase()]])
|
agent.inputKeys.map((inputKey) => [inputKey, process.env[inputKey.toUpperCase()]])
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user