INNER CODE UNIT · Python

_build_interactive_system_prompt

416rehman/DeepZero · src/deepzero/cli.py:697

def _build_interactive_system_prompt(state_store) -> str:
    prompt_parts = [
        "you are deepzero, an expert binary analysis assistant. "
        "you help users understand the results of automated analysis pipelines.",
    ]

    run_state = state_store.load_run()
    if run_state:
        prompt_parts.append(
            f"\ncurrent pipeline run: {run_state.pipeline} "
            f"(status: {run_state.status}, target: {run_state.target})"
        )

        manifest = state_store.load_manifest()
        if manifest:
            active = [e for e in manifest if e.get("verdict") in ("active", "completed")]
            prompt_parts.append(f"\ntotal samples: {len(manifest)}")
            if active:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…