From 7ba0de7dc75ec9b09bb662d59068b1ed6dbdc0a7 Mon Sep 17 00:00:00 2001
From: ai_xiaopei <xiaopei@aisim.cn>
Date: Fri, 21 Aug 2026 20:11:20 +0800
Subject: [PATCH] fix(llm): getDefaultConfig 默认路径经 expandPath 展开(修复无配置文件时在 cwd 下创建字面 ~ 目录)

---
 internal/graph/model.go |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/internal/graph/model.go b/internal/graph/model.go
index 0702912..bcad193 100644
--- a/internal/graph/model.go
+++ b/internal/graph/model.go
@@ -6,6 +6,7 @@
 	Path      string   `json:"path"`
 	Title     string   `json:"title"`
 	Section   string   `json:"section"`
+	NodeType  string   `json:"node_type"` // "file" | "tag" | "entity"
 	Tags      []string `json:"tags"`
 	Entities  []string `json:"entities"`
 	Wikilinks []string `json:"wikilinks"`

--
Gitblit v1.10.0