add more codex logic
This commit is contained in:
@@ -20,11 +20,15 @@ export interface AgentConfig {
|
||||
githubInstallationToken: string;
|
||||
prompt: string;
|
||||
mcpServers: Record<string, McpServerConfig>;
|
||||
cliPath: string;
|
||||
}
|
||||
|
||||
type InputKey = "anthropic_api_key" | "openai_api_key";
|
||||
|
||||
export type Agent = {
|
||||
install: () => Promise<string>;
|
||||
run: (config: AgentConfig) => Promise<AgentResult>;
|
||||
inputKey: InputKey;
|
||||
};
|
||||
|
||||
export const instructions = `
|
||||
|
||||
Reference in New Issue
Block a user