MCPcopy
hub / github.com/ElricLiu/AutoGPT-Next-Web / AgentService

Interface AgentService

src/services/agent-service.ts:121–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121interface AgentService {
122 startGoalAgent: (
123 modelSettings: ModelSettings,
124 goal: string,
125 customLanguage: string
126 ) => Promise<string[]>;
127 analyzeTaskAgent: (
128 modelSettings: ModelSettings,
129 goal: string,
130 task: string
131 ) => Promise<Analysis>;
132 executeTaskAgent: (
133 modelSettings: ModelSettings,
134 goal: string,
135 task: string,
136 analysis: Analysis,
137 customLanguage: string,
138
139 ) => Promise<string>;
140 createTasksAgent: (
141 modelSettings: ModelSettings,
142 goal: string,
143 tasks: string[],
144 lastTask: string,
145 result: string,
146 completedTasks: string[] | undefined,
147 customLanguage: string,
148 ) => Promise<string[]>;
149}
150
151const OpenAIAgentService: AgentService = {
152 startGoalAgent: startGoalAgent,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected