| 12 | |
| 13 | |
| 14 | class Agent(BaseModel): |
| 15 | name: str = "Agent" |
| 16 | model: str = "gpt-4o" |
| 17 | instructions: Union[str, Callable[[], str]] = "You are a helpful agent." |
| 18 | functions: List[AgentFunction] = [] |
| 19 | tool_choice: str = None |
| 20 | parallel_tool_calls: bool = True |
| 21 | |
| 22 | |
| 23 | class Response(BaseModel): |
no outgoing calls
searching dependent graphs…