INNER CODE UNIT · Python

arun

nottelabs/notte · packages/notte-agent/src/notte_agent/main.py:75

    async def arun(self, **data: Unpack[AgentRunRequestDict]) -> AgentResponse:
        agent = self.create_agent()
        # validate args
        res = AgentRunRequest.model_validate(data)
        agent_res = await agent.arun(**res.model_dump())
        if isinstance(agent, NotteAgent):
            self.trajectory = agent.trajectory
        return agent_res

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…