发布

  • fix #821 #818 #820: universal help guard, --version flag, Ollama num_ctx fallback

    frostbyte_neo 发布于 2026-05-11 20:18:48 +00:00

    • Universal -h/--help/-? guard after cmd dispatch: any help flag anywhere in
      argv stops execution and prints "Run 'graphify --help'" instead of triggering
      the subcommand — cursor/kiro/gemini install --help no longer silently installs;
      benchmark --help no longer crashes with FileNotFoundError (#821)
    • --version / -v / version subcommand: print graphify {version} and exit (#818)
    • GRAPHIFY_OLLAMA_NUM_CTX= now falls through to auto-derived num_ctx
      instead of hardcoding 131072 (the cap that causes OOM on constrained VRAM);
      pinned num_ctx < estimated input now triggers an explicit truncation warning
      with a suggested --token-budget correction (#820)

    Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

    下载附件