Skip to content

[new agent] MediGraph Agent:医疗数据—知识—洞察智能体 - #1

Open
yuehuiqi wants to merge 1 commit into
ModelEngine-Group:mainfrom
yuehuiqi:agent-archive-medigraph
Open

[new agent] MediGraph Agent:医疗数据—知识—洞察智能体#1
yuehuiqi wants to merge 1 commit into
ModelEngine-Group:mainfrom
yuehuiqi:agent-archive-medigraph

Conversation

@yuehuiqi

@yuehuiqi yuehuiqi commented Aug 8, 2026

Copy link
Copy Markdown

归档队伍 MaineCoon 的参赛作品至 通用智能体/其他/MediGraphAgent/。

基于 Nexent、DataMate、MCP 与 A2A,把非结构化医疗文本做到可溯源知识图谱
与图谱驱动的 BI 洞察,形成数据→知识→洞察闭环。

包含四个智能体,由同一套 MCP 服务(17 个工具)驱动:

  • 医疗数据处理智能体:编排算子完成清洗/抽取/建图,可调度 DataMate 流水线
  • 医疗知识图谱生成与问答智能体:构建可溯源图谱并做 GraphRAG 问答
  • 图谱驱动分析与 BI 智能体:SQL 统计与 GRAPH 关联分析自动路由,产出图表
  • 闭环协作总控智能体:统一调度上述三者,支持 A2A 子智能体转交

目录内容:
agent.json 平台导入入口,即闭环协作总控智能体
智能体源文件/ 4 个可导入 Nexent 的 AgentConfig
mcp服务/ MCP 服务源码、知识库、配置与容器化部署文件
skills/ Nexent 技能包(zip + 源码 + 打包脚本)
datamate算子包/ DataMate 平台可上传的 5 个算子(zip + 源码)
README.md 运行环境依赖、启动命令与四个智能体的使用示例

随包提供知识库文件(演示知识图谱、分析数据库、词典抽取器、实体链接知识库),
导入后无需额外下载即可运行。自训练神经抽取权重约 1.4 GB 未随包提供,
抽取级联会自动回退词典或 LLM 路径,不影响核心功能。

归档队伍 MaineCoon 的参赛作品至 通用智能体/其他/MediGraphAgent/。

基于 Nexent、DataMate、MCP 与 A2A,把非结构化医疗文本做到可溯源知识图谱
与图谱驱动的 BI 洞察,形成数据→知识→洞察闭环。

包含四个智能体,由同一套 MCP 服务(17 个工具)驱动:
  - 医疗数据处理智能体:编排算子完成清洗/抽取/建图,可调度 DataMate 流水线
  - 医疗知识图谱生成与问答智能体:构建可溯源图谱并做 GraphRAG 问答
  - 图谱驱动分析与 BI 智能体:SQL 统计与 GRAPH 关联分析自动路由,产出图表
  - 闭环协作总控智能体:统一调度上述三者,支持 A2A 子智能体转交

目录内容:
  agent.json       平台导入入口,即闭环协作总控智能体
  智能体源文件/    4 个可导入 Nexent 的 AgentConfig
  mcp服务/        MCP 服务源码、知识库、配置与容器化部署文件
  skills/         Nexent 技能包(zip + 源码 + 打包脚本)
  datamate算子包/  DataMate 平台可上传的 5 个算子(zip + 源码)
  README.md       运行环境依赖、启动命令与四个智能体的使用示例

随包提供知识库文件(演示知识图谱、分析数据库、词典抽取器、实体链接知识库),
导入后无需额外下载即可运行。自训练神经抽取权重约 1.4 GB 未随包提供,
抽取级联会自动回退词典或 LLM 路径,不影响核心功能。

包内最大文件 5.56 MB,不依赖 Git LFS。
Copilot AI lite review requested due to automatic review settings August 8, 2026 16:05

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR archives the “MediGraph Agent” submission into 通用智能体/其他/MediGraphAgent/, providing a full “data → knowledge graph → BI insights” closed-loop demo built around Nexent Agents, an MCP service, optional A2A collaboration, a Nexent skill, and DataMate operator packages.

Changes:

  • Added four Nexent-importable agent configurations (data processing, KG build/QA, BI analysis, and a closed-loop supervisor).
  • Added the MediGraph MCP/A2A service implementation (operators, schema, graph backends, extraction cascade, analytics utilities) plus Docker/PowerShell tooling for running the demo.
  • Added a Nexent skill (“medical-kg-report”), DataMate operator zips source layout, and bundled demo corpora/datasets for out-of-the-box runs.

Reviewed changes

Copilot reviewed 166 out of 190 changed files in this pull request and generated no comments.

Show a summary per file
File Description
通用智能体/其他/MediGraphAgent/智能体源文件/kg_qa_agent.json KG build + GraphRAG QA agent config wired to MediGraph MCP tools.
通用智能体/其他/MediGraphAgent/智能体源文件/dataproc_agent.json DataMate/MCP-driven medical text processing agent config.
通用智能体/其他/MediGraphAgent/智能体源文件/collaboration_supervisor.json Closed-loop supervisor agent config (delegation-oriented).
通用智能体/其他/MediGraphAgent/智能体源文件/analysis_supervisor.json Graph-driven analytics/BI agent config (SQL/GRAPH routing).
通用智能体/其他/MediGraphAgent/skills/medical-kg-report源码/SKILL.md Skill definition and usage guide for KG reporting/extraction.
通用智能体/其他/MediGraphAgent/skills/medical-kg-report源码/scripts/render_report.py Skill script to render graph.json → self-contained HTML report.
通用智能体/其他/MediGraphAgent/skills/medical-kg-report源码/scripts/extract_triples.py Skill script to extract ontology-constrained triples via LLM.
通用智能体/其他/MediGraphAgent/skills/build_skill_zip.py Script to package the Nexent skill into an uploadable zip.
通用智能体/其他/MediGraphAgent/mcp服务/scripts/stop_demo_services.ps1 Stops demo services by port + commandline pattern.
通用智能体/其他/MediGraphAgent/mcp服务/scripts/start_mcp.ps1 Starts MCP server locally on Windows.
通用智能体/其他/MediGraphAgent/mcp服务/scripts/start_finetuned_model.ps1 Starts local fine-tuned orchestrator OpenAI-compatible API.
通用智能体/其他/MediGraphAgent/mcp服务/scripts/start_a2a.ps1 Starts A2A server locally on Windows.
通用智能体/其他/MediGraphAgent/mcp服务/scripts/download_encoder.py Helper to fetch an encoder model from hf-mirror.
通用智能体/其他/MediGraphAgent/mcp服务/scripts/docker_up.ps1 Powershell helper to bring up Docker services and wait for readiness.
通用智能体/其他/MediGraphAgent/mcp服务/scripts/docker_down.ps1 Powershell helper to stop Docker services.
通用智能体/其他/MediGraphAgent/mcp服务/scripts/check_demo_services.ps1 Health check script for demo ports/services.
通用智能体/其他/MediGraphAgent/mcp服务/requirements.txt Full Python dependency set for local-first + optional features.
通用智能体/其他/MediGraphAgent/mcp服务/requirements-docker.txt Slimmer dependency set for Docker runtime.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/utils/io.py IO helpers for reading/writing text/json/jsonl.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/utils/console.py UTF-8 console configuration helper.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/utils/init.py Package init for utils.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/schema/relation_mapping.py Bridges CMeIE predicates to a compact clinical ontology with provenance.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/schema/ontology.py Defines entity/relation types and relation endpoint constraints.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/schema/normalize.py Entity normalization / aliasing / noise filtering helpers.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/schema/cmeie_schema.py Full CMeIE schema adapter + key/label mapping.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/schema/init.py Package init for schema.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/operators/text_clean.py Rule-based medical text cleaning operator.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/operators/pii_redact.py Deterministic PII redaction operator with audit counts.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/operators/entity_linker.py Operator wrapper for KB-backed entity linking/normalization.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/operators/document_loader.py Multi-format document ingestion operator (txt/md/html/csv/json/docx/pdf).
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/operators/data_quality.py Deterministic data quality profiling and dedup detection operator.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/operators/chunker.py Heading-aware chunking operator for downstream extraction.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/operators/base.py Operator contract + registry + MCP tool adapter.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/operators/init.py Package init for operators.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/llm/init.py Package init for llm.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/graph/vector_store.py Local numpy-based vector store for hybrid GraphRAG retrieval.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/graph/pg_vector_store.py Optional pgvector-backed ANN store for scalable vector search.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/graph/neo4j_store.py Optional Neo4j backend implementing the graph store interface.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/graph/base.py GraphStore interface + backend factory.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/graph/init.py Package init for graph.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/extraction/entity_linker.py Stable-ID entity linking implementation with auditable scores.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/extraction/cascade.py Cascade loader + merge logic for neural/fast/LLM extraction routing.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/extraction/init.py Extraction package exports.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/analysis/sql_guard.py AST-based read-only SQL validation for NL2SQL execution.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/analysis/graph_profile.py Loads task graph (or example) and builds a schema/profile summary.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/analysis/graph_algorithms.py Adds PageRank/centrality/community/shortest-path analytics utilities.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/analysis/init.py Analysis package init.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/agents/kg_agent.py KG builder agent orchestrating chunk→NER→RE→validate→store (+ vectors).
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/agents/init.py Agents package init.
通用智能体/其他/MediGraphAgent/mcp服务/medigraph/init.py medigraph package init.
通用智能体/其他/MediGraphAgent/mcp服务/integration/a2a/README.md A2A integration usage instructions and routing behavior.
通用智能体/其他/MediGraphAgent/mcp服务/integration/a2a/a2a_server.py Minimal A2A server exposing QA + analysis via JSON-RPC.
通用智能体/其他/MediGraphAgent/mcp服务/integration/a2a/init.py A2A package init.
通用智能体/其他/MediGraphAgent/mcp服务/integration/init.py integration package init.
通用智能体/其他/MediGraphAgent/mcp服务/Dockerfile Container image for MCP/A2A runtime (+ optional neural deps).
通用智能体/其他/MediGraphAgent/mcp服务/data/models/temperature_calibration.json Temperature scaling parameters for confidence calibration.
通用智能体/其他/MediGraphAgent/mcp服务/data/models/README.md Documentation for shipped model artifacts and baselines.
通用智能体/其他/MediGraphAgent/mcp服务/data/demo_cases/outpatient_record_demo/门诊病历_高血压_合成样例.txt Synthetic outpatient record demo text (single-case).
通用智能体/其他/MediGraphAgent/mcp服务/data/demo_cases/outpatient_batch_demo/门诊病历_03_脂肪肝_合成样例.txt Synthetic outpatient record demo text (batch case).
通用智能体/其他/MediGraphAgent/mcp服务/data/demo_cases/outpatient_batch_demo/门诊病历_02_慢阻肺_合成样例.txt Synthetic outpatient record demo text (batch case).
通用智能体/其他/MediGraphAgent/mcp服务/data/demo_cases/outpatient_batch_demo/门诊病历_01_2型糖尿病_合成样例.txt Synthetic outpatient record demo text (batch case).
通用智能体/其他/MediGraphAgent/mcp服务/data/demo_cases/cardiometabolic_20260701/README.md Demo dataset description and suggested QA prompts.
通用智能体/其他/MediGraphAgent/mcp服务/data/demo_cases/cardiometabolic_20260701/03_diabetes.txt Cardio-metabolic demo text: diabetes.
通用智能体/其他/MediGraphAgent/mcp服务/data/demo_cases/cardiometabolic_20260701/02_hypertension.txt Cardio-metabolic demo text: hypertension.
通用智能体/其他/MediGraphAgent/mcp服务/data/demo_cases/cardiometabolic_20260701/01_heart_failure.txt Cardio-metabolic demo text: heart failure.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/diakg_5.txt Corpus document used for extraction/build demos.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_039.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_038.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_037.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_036.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_035.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_034.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_033.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_032.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_031.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_030.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_029.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_028.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_027.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_026.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_025.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_024.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_023.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_022.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_021.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_020.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_019.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_018.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_017.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_016.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_015.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_014.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_013.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_012.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_011.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_010.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_009.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_008.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_007.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_006.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_005.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_004.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_003.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_002.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_001.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/data/corpus/cmeie_000.txt CMeIE corpus sample.
通用智能体/其他/MediGraphAgent/mcp服务/config/init.py Config package init.
通用智能体/其他/MediGraphAgent/mcp服务/compose.yaml Docker Compose for MCP + A2A services and mounts.
通用智能体/其他/MediGraphAgent/mcp服务/.env.example Environment template for providers, extraction, analytics, and docker ports.
通用智能体/其他/MediGraphAgent/mcp服务/.dockerignore Docker build context exclusions for large/transient artifacts.
通用智能体/其他/MediGraphAgent/datamate算子包/源码/triple_validator/requirements.txt DataMate operator requirements (rule-only).
通用智能体/其他/MediGraphAgent/datamate算子包/源码/triple_validator/README.md Triple validator operator documentation.
通用智能体/其他/MediGraphAgent/datamate算子包/源码/triple_validator/process.py Triple validation governance logic for DataMate.
通用智能体/其他/MediGraphAgent/datamate算子包/源码/triple_validator/metadata.yml DataMate operator metadata and settings.
通用智能体/其他/MediGraphAgent/datamate算子包/源码/triple_validator/init.py Operator registration for DataMate runtime.
通用智能体/其他/MediGraphAgent/datamate算子包/源码/text_clean/requirements.txt DataMate operator requirements (rule-only).
通用智能体/其他/MediGraphAgent/datamate算子包/源码/text_clean/README.md Text clean operator documentation.
通用智能体/其他/MediGraphAgent/datamate算子包/源码/text_clean/process.py Text cleaning rules mirrored for DataMate packaging.
通用智能体/其他/MediGraphAgent/datamate算子包/源码/text_clean/metadata.yml DataMate operator metadata and settings.
通用智能体/其他/MediGraphAgent/datamate算子包/源码/text_clean/init.py Operator registration for DataMate runtime.
通用智能体/其他/MediGraphAgent/datamate算子包/源码/medical_re/requirements.txt DataMate operator requirements (OpenAI client).
通用智能体/其他/MediGraphAgent/datamate算子包/源码/medical_re/README.md Medical RE operator documentation.
通用智能体/其他/MediGraphAgent/datamate算子包/源码/medical_re/metadata.yml DataMate operator metadata and settings.
通用智能体/其他/MediGraphAgent/datamate算子包/源码/medical_re/init.py Operator registration for DataMate runtime.
通用智能体/其他/MediGraphAgent/datamate算子包/源码/medical_ner/requirements.txt DataMate operator requirements (OpenAI client).
通用智能体/其他/MediGraphAgent/datamate算子包/源码/medical_ner/README.md Medical NER operator documentation.
通用智能体/其他/MediGraphAgent/datamate算子包/源码/medical_ner/process.py LLM-backed NER operator implementation for DataMate.
通用智能体/其他/MediGraphAgent/datamate算子包/源码/medical_ner/metadata.yml DataMate operator metadata and settings.
通用智能体/其他/MediGraphAgent/datamate算子包/源码/medical_ner/init.py Operator registration for DataMate runtime.
通用智能体/其他/MediGraphAgent/datamate算子包/源码/chunker/requirements.txt DataMate operator requirements (rule-only).
通用智能体/其他/MediGraphAgent/datamate算子包/源码/chunker/README.md Chunker operator documentation.
通用智能体/其他/MediGraphAgent/datamate算子包/源码/chunker/process.py Heading-aware chunking operator for DataMate.
通用智能体/其他/MediGraphAgent/datamate算子包/源码/chunker/metadata.yml DataMate operator metadata and settings.
通用智能体/其他/MediGraphAgent/datamate算子包/源码/chunker/init.py Operator registration for DataMate runtime.
通用智能体/其他/MediGraphAgent/datamate算子包/源码/build_zip.py Script to package DataMate operators into correctly named zips.
通用智能体/其他/MediGraphAgent/agent.json Nexent import entrypoint for the closed-loop supervisor agent.
Suppressed comments (7)

通用智能体/其他/MediGraphAgent/mcp服务/medigraph/operators/document_loader.py:82

  • DocumentLoaderOperator resolves and reads arbitrary absolute paths (via expanduser().resolve()), which can expose host/container files if the MCP tool is reachable. Consider restricting reads to project-controlled directories (e.g. data/ and outputs/) and rejecting anything outside those roots.
    通用智能体/其他/MediGraphAgent/mcp服务/scripts/download_encoder.py:26
  • download_encoder.py disables TLS verification unconditionally (CERT_NONE + check_hostname=False). That makes the downloaded model artifacts vulnerable to MITM tampering. If you need an insecure mode for restricted networks, gate it behind an explicit flag/env var; otherwise keep default certificate verification on.
    通用智能体/其他/MediGraphAgent/mcp服务/scripts/start_mcp.ps1:11
  • The default Python fallback is hard-coded to C:\Python314\python.exe, which is unlikely to exist on many machines and will cause the script to fail even when python is on PATH. Prefer a PATH-based fallback (or py -3.x) when no venv/interpreter env var is provided.
    通用智能体/其他/MediGraphAgent/mcp服务/scripts/start_a2a.ps1:11
  • The default Python fallback is hard-coded to C:\Python314\python.exe, which is unlikely to exist on many machines and will cause the script to fail even when python is on PATH. Prefer a PATH-based fallback (or py -3.x) when no venv/interpreter env var is provided.
    通用智能体/其他/MediGraphAgent/skills/build_skill_zip.py:10
  • build_skill_zip.py's docstring references nexent_skill/... paths, but this script lives under skills/ (and writes into skills/dist/). This mismatch can confuse users following the usage instructions.
    通用智能体/其他/MediGraphAgent/mcp服务/medigraph/operators/data_quality.py:20
  • DataQualityOperator.meta.input_schema only declares documents, but run() also accepts text, required_fields, and deduplicate. Keeping the schema accurate is important for planner/tooling to pass the right parameters and for users to discover optional knobs.
    通用智能体/其他/MediGraphAgent/skills/medical-kg-report源码/scripts/extract_triples.py:55
  • When --api-key (or the corresponding env vars) is missing, the script silently substitutes "EMPTY" and still makes a network call, which typically fails with a less actionable auth error. Failing fast with a clear message makes this easier to debug and avoids unnecessary requests.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants