fix: stabilize custom widget authoring
This commit is contained in:
1 parent
11b941285b
commit
f01969b9fc
11 files changed
+796
-27
No files matched your search
@@ -30,6 +30,8 @@ describe("withAssistantToolPolicy", () => {
|
||||
|
||||
describe("customWidgetAssistantInstructions", () => {
|
||||
test("requires the complete skill and real preview-query data before creation", () => {
|
||||
expect(customWidgetAssistantInstructions).toContain("when they are preloaded below");
|
||||
expect(customWidgetAssistantInstructions).toContain("do not call customWidget_getSkill or customWidget_schema");
|
||||
expect(customWidgetAssistantInstructions).toContain("first call customWidget_getSkill");
|
||||
expect(customWidgetAssistantInstructions).toContain("customWidget_schema");
|
||||
expect(customWidgetAssistantInstructions).toContain("customWidget_getComponentCatalog");
|
||||
|
||||
Reference in new issue
Block a user