First Try: QVAC (QuantumVerse Automatic Computer)
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* Pear Bare worker entry for QVAC (optional).
|
||||
*
|
||||
* When using @qvac/bare-sdk in a Pear build, register only the plugins you need:
|
||||
* npm i @qvac/bare-sdk @qvac/llm-llamacpp @qvac/embed-llamacpp
|
||||
*
|
||||
* Add to package.json pear.stage.entrypoints: "/qvac/worker.pear.entry.mjs"
|
||||
*
|
||||
* Electron uses @qvac/sdk's default worker — this file is Pear-only.
|
||||
*
|
||||
* @see https://github.com/tetherto/qvac/tree/main/packages/bare-sdk
|
||||
*/
|
||||
|
||||
// Uncomment when bare-sdk is installed:
|
||||
//
|
||||
// import { registerPlugin } from '@qvac/bare-sdk/plugins'
|
||||
// import { llmPlugin } from '@qvac/bare-sdk/llamacpp-completion/plugin'
|
||||
// // import { embedPlugin } from '@qvac/bare-sdk/llamacpp-embedding/plugin'
|
||||
// registerPlugin(llmPlugin)
|
||||
// // registerPlugin(embedPlugin)
|
||||
// await import('../node_modules/@qvac/bare-sdk/worker.js').catch(() => {})
|
||||
|
||||
export const QVAC_PEAR_WORKER = {
|
||||
status: 'stub',
|
||||
note: 'Install @qvac/bare-sdk and enable plugin registration above for Pear native inference.',
|
||||
}
|
||||
Reference in New Issue
Block a user