use web worker to run pglite

This commit is contained in:
duanfuxiang
2025-03-19 21:01:32 +08:00
parent 76288377c3
commit 679d7142eb
25 changed files with 985 additions and 461 deletions

View File

@@ -1,7 +1,5 @@
import { LLMModel } from './llm/model'
import { EmbeddingModelInfo } from '../utils/api'
export type EmbeddingModelId =
| 'text-embedding-3-small'
| 'text-embedding-004'

View File

@@ -10,6 +10,7 @@ export enum ApiProvider {
Groq = "Groq",
Ollama = "Ollama",
OpenAICompatible = "OpenAICompatible",
TransformersJs = "TransformersJs",
}
export type LLMModel = {