mirror of
https://github.com/EthanMarti/infio-copilot.git
synced 2026-05-08 16:10:09 +00:00
fix ts check
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { PGlite } from '@electric-sql/pglite'
|
||||
import { type PGliteWithLive, live } from '@electric-sql/pglite/live'
|
||||
import { type PGliteWithLive, live } from '@electric-sql/pglite/dist/live'
|
||||
// import { PgliteDatabase, drizzle } from 'drizzle-orm/pglite'
|
||||
import { App, normalizePath } from 'obsidian'
|
||||
|
||||
|
||||
@@ -111,7 +111,8 @@ export class VectorManager {
|
||||
return {
|
||||
path: file.path,
|
||||
mtime: file.stat.mtime,
|
||||
content: chunk.pageContent,
|
||||
content: chunk.pageContent,
|
||||
embedding: [],
|
||||
metadata: {
|
||||
startLine: chunk.metadata.loc.lines.from as number,
|
||||
endLine: chunk.metadata.loc.lines.to as number,
|
||||
|
||||
Reference in New Issue
Block a user