mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 22:30:38 +08:00
refactor(authority): complete v0.6-only sql/blob/jobs rollout
This commit is contained in:
@@ -16,6 +16,14 @@ installResolveHooks([
|
||||
},
|
||||
]);
|
||||
|
||||
globalThis.__stBmeTestOverrides = {
|
||||
embedding: {
|
||||
async embedText(text = "") {
|
||||
return [1, 0.25, String(text || "").length / 100];
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
const outputJson = process.argv.includes("--json");
|
||||
const RUNS = 5;
|
||||
const SIZE_PRESETS = [
|
||||
@@ -233,6 +241,8 @@ async function runPreset(preset) {
|
||||
const config = normalizeAuthorityVectorConfig(
|
||||
{
|
||||
authorityBaseUrl: "/api/plugins/authority",
|
||||
authorityEmbeddingApiUrl: "https://example.com/v1",
|
||||
authorityEmbeddingModel: "test-embedding",
|
||||
authorityVectorFailOpen: true,
|
||||
},
|
||||
{ triviumClient },
|
||||
|
||||
Reference in New Issue
Block a user