mirror of
https://github.com/kdnk/obsidian-automatic-linker.git
synced 2026-07-22 05:37:46 +00:00
- Implemented AI-powered link disambiguation using local LLMs (Gemma 4 / LM Studio). - Refactored Trie and candidate mapping to support multiple link candidates per word. - Added 'AI Link Enhancer' command with a progress bar UI in Obsidian. - Enhanced link replacement logic to verify existing links and resolve ambiguities using context. - Added comprehensive unit tests for AI disambiguation and candidate mapping. - Updated settings to include AI configuration (endpoint, model, context length).
11 lines
275 B
TypeScript
11 lines
275 B
TypeScript
import { defineConfig } from "vitest/config"
|
|
import path from "path"
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
includeSource: ["src/**/*.{js,ts}"],
|
|
alias: {
|
|
"obsidian": path.resolve(__dirname, "./src/__mocks__/obsidian.ts"),
|
|
},
|
|
},
|
|
})
|