Update agent.py
Browse files
agent.py
CHANGED
@@ -418,7 +418,6 @@ class ClinicalAgent:
|
|
418 |
"agent": "agent"
|
419 |
})
|
420 |
wf.add_edge("reflection", "agent")
|
421 |
-
wf.set_termination_condition(lambda state: state.get("done", False))
|
422 |
self.graph_app = wf.compile()
|
423 |
logger.info("ClinicalAgent ready")
|
424 |
|
|
|
418 |
"agent": "agent"
|
419 |
})
|
420 |
wf.add_edge("reflection", "agent")
|
|
|
421 |
self.graph_app = wf.compile()
|
422 |
logger.info("ClinicalAgent ready")
|
423 |
|