Restore root script imports for nested modules

This commit is contained in:
Youzini-afk
2026-04-08 02:09:16 +08:00
parent ff6c3e79ca
commit 43a44593ab
3 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
import { substituteParamsExtended } from "../../../../script.js";
import { substituteParamsExtended } from "../../../../../script.js";
import jsyaml from "../vendor/js-yaml.mjs";
function getTemplateRuntime() {

View File

@@ -1,7 +1,7 @@
// ST-BME: LLM 调用封装
// 包装 ST 的 sendOpenAIRequest提供结构化 JSON 输出和重试机制
import { getRequestHeaders } from "../../../../script.js";
import { getRequestHeaders } from "../../../../../script.js";
import { extension_settings } from "../../../../extensions.js";
import { chat_completion_sources, sendOpenAIRequest } from "../../../../openai.js";
import { debugLog, debugWarn } from "../runtime/debug-logging.js";

View File

@@ -1,6 +1,6 @@
// ST-BME: 向量模式、后端索引与直连兜底
import { getRequestHeaders } from "../../../../script.js";
import { getRequestHeaders } from "../../../../../script.js";
import { embedBatch, embedText, searchSimilar } from "./embedding.js";
import { getActiveNodes } from "../graph/graph.js";
import { describeMemoryScope, normalizeMemoryScope } from "../graph/memory-scope.js";