mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 12:20:44 +00:00
fix(ci): restore plugin install and tooling checks
This commit is contained in:
@@ -61,6 +61,18 @@ describe("memory-lancedb config", () => {
|
||||
expect(parsed.embedding.provider).toBe("openai");
|
||||
});
|
||||
|
||||
it("rejects empty embedding placeholders in the manifest schema", () => {
|
||||
const manifestResult = validateJsonSchemaValue({
|
||||
schema: manifest.configSchema,
|
||||
cacheKey: "memory-lancedb.manifest.empty-embedding",
|
||||
value: {
|
||||
embedding: {},
|
||||
},
|
||||
});
|
||||
|
||||
expect(manifestResult.ok).toBe(false);
|
||||
});
|
||||
|
||||
it("rejects empty embedding providers", () => {
|
||||
expect(() => {
|
||||
memoryConfigSchema.parse({
|
||||
|
||||
@@ -71,6 +71,7 @@
|
||||
"properties": {
|
||||
"embedding": {
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"apiKey": {
|
||||
|
||||
Reference in New Issue
Block a user