MCPcopy Create free account
hub / github.com/AgentOps-AI/agentops / EngineerAgent

Class EngineerAgent

app/e2e/sdk-api/src/agents/multi_agents.py:32–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31@track_agent(name="engineer")
32class EngineerAgent:
33 async def completion(self, prompt: str, openai_client):
34 res = await openai_client.chat.completions.create(
35 model="gpt-3.5-turbo",
36 messages=[
37 {
38 "role": "system",
39 "content": "You are a "
40 "software "
41 "engineer and "
42 "only output "
43 "python code, "
44 "no markdown "
45 "tags.",
46 },
47 {"role": "user", "content": prompt},
48 ],
49 temperature=0.5,
50 )
51 return res.choices[0].message.content

Callers 1

setUpMethod · 0.90

Calls

no outgoing calls

Tested by 1

setUpMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…