agent-lightning icon indicating copy to clipboard operation
agent-lightning copied to clipboard

AttributeError: 'RAGAgent' object has no attribute 'trained_agents'

Open johnson7788 opened this issue 5 months ago • 2 comments

when i try agent-lightning/examples/rag example python rag_agent.py

Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/workspace/verl/agent-lightning/agentlightning/trainer.py", line 166, in _worker_main_loop if agent.trained_agents: AttributeError: 'RAGAgent' object has no attribute 'trained_agents'

johnson7788 avatar Aug 13 '25 12:08 johnson7788

#53

ultmaster avatar Aug 13 '25 17:08 ultmaster

@johnson7788 Is the error still there?

lunaqiu avatar Aug 25 '25 09:08 lunaqiu