Allow shared evidence and bounded causal diagnosis with retry feedback

This commit is contained in:
Nico committed 2026-10-15 18:05:38 +02:00
1 parent 5082354bc3
commit c1f44e4e02
21 files changed
+727 -41

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ class PipelineAdapter:
async def generate(self, config, request, **kwargs):
self.calls += 1
phase = {"case_interpretation_v1": "case", "hypotheses_v1": "hypotheses", "hypotheses_v2": "hypotheses",
"investigation_v1": "loop", "investigation_v2": "loop", "diagnosis_v1": "diagnosis",
"investigation_v1": "loop", "investigation_v2": "loop", "investigation_v3": "loop", "diagnosis_v1": "diagnosis", "diagnosis_v2": "diagnosis",
"change_request_v1": "request"}[request["prompt_version"]]
adapter = self.adapters[phase]
return await adapter.generate(config, request, **kwargs)