(
self,
chat: List[AgentMessage],
max_steps: Optional[int] = None,
code_interpreter: Optional[CodeInterpreter] = None,
)
| 33 | class AgentCoder(Agent): |
| 34 | @abstractmethod |
| 35 | def generate_code( |
| 36 | self, |
| 37 | chat: List[AgentMessage], |
| 38 | max_steps: Optional[int] = None, |
| 39 | code_interpreter: Optional[CodeInterpreter] = None, |
| 40 | ) -> Union[CodeContext, InteractionContext, ErrorContext]: |
| 41 | pass |
| 42 | |
| 43 | @abstractmethod |
| 44 | def generate_code_from_plan( |
no outgoing calls
no test coverage detected