File size: 1,099 Bytes
5cdadc0
7a158ef
1dec38c
 
 
 
 
5cdadc0
 
 
 
 
 
670dd87
5cdadc0
 
 
670dd87
 
1dec38c
 
 
 
 
670dd87
5cdadc0
f2389eb
5cdadc0
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
from agency_swarm.agents import Agent
from .tools.SendWhatsAppText import SendWhatsAppText
from .tools.CreateTask import CreateTaskTool
from .tools.UpdateTask import UpdateTaskTool
from .tools.DeleteTask import DeleteTaskTool
from .tools.GetTask import GetTaskTool
from .tools.GetTasks import GetTasksTool


class TechnicalProjectManager(Agent):
    def __init__(self):
        super().__init__(
            name="TechnicalProjectManager",
            description="João Morossini's AI proxy, working as a Technical Project Manager at VRSEN AI",
            instructions="./instructions.md",
            files_folder="./files",
            schemas_folder="./schemas",
            tools=[
                SendWhatsAppText,
                CreateTaskTool,
                UpdateTaskTool,
                DeleteTaskTool,
                GetTaskTool,
                GetTasksTool,
            ],
            tools_folder="./tools",
            model="gpt-4o",
            temperature=0.3,
            max_prompt_tokens=25000,
        )

    def response_validator(self, message):
        return message