feat: invoke VedAstro for chart and rectification

This commit is contained in:
732642856
2026-07-18 04:15:19 +08:00
parent 145eadc5f5
commit f6fd53cca6
8 changed files with 53 additions and 12 deletions
+1
View File
@@ -88,6 +88,7 @@ export function toAgentConsultationContext(data: JsonRecord) {
lagna_boundary: rectification.lagna_boundary,
},
thematic_evidence: selectedTheme,
vedastro_gateway: record(data.vedastro_gateway),
reference_transparency: record(data.reference_transparency),
};
}
@@ -6,6 +6,7 @@ test("passes transparent public-case references into the agent context", () => {
const source = readFileSync(new URL("../src/mastra/index.ts", import.meta.url), "utf8");
assert.match(source, /reference_transparency:\s*record\(data\.reference_transparency\)/);
assert.match(source, /vedastro_gateway:\s*record\(data\.vedastro_gateway\)/);
assert.match(source, /high_similarity_public_references_available/);
assert.match(source, /requested_uncovered_domains/);
assert.match(source, /public_context_only/);