From b71ed1daea690f3ef3fbf289ce163c76a78b123b Mon Sep 17 00:00:00 2001
From: Wanlu Lei <93822929+alalulu8668@users.noreply.github.com>
Date: Tue, 20 Aug 2024 18:15:35 -0700
Subject: [PATCH 1/2] Revert "Fix extension.info bug"
---
bioimageio_chatbot/static/index.html | 2 --
1 file changed, 2 deletions(-)
diff --git a/bioimageio_chatbot/static/index.html b/bioimageio_chatbot/static/index.html
index a4b48f9..94d26cd 100644
--- a/bioimageio_chatbot/static/index.html
+++ b/bioimageio_chatbot/static/index.html
@@ -783,8 +783,6 @@
Welcome to BioImage.IO Chatbot
throw new Error(`Invalid extension ${extension.id}, type should be bioimageio-chatbot-extension`)
_removeRpcObj(extension)
- ext.info = ext.info || {}
-
const schemas = await extension.get_schema()
for (let k of Object.keys(schemas)) {
const schema = schemas[k]
From 3192f3b5fc66fb100531c1ee4eb173551c007685 Mon Sep 17 00:00:00 2001
From: Wanlu Lei <93822929+alalulu8668@users.noreply.github.com>
Date: Tue, 20 Aug 2024 18:16:51 -0700
Subject: [PATCH 2/2] Update index.html
---
bioimageio_chatbot/static/index.html | 2 ++
1 file changed, 2 insertions(+)
diff --git a/bioimageio_chatbot/static/index.html b/bioimageio_chatbot/static/index.html
index 94d26cd..bfa9dd6 100644
--- a/bioimageio_chatbot/static/index.html
+++ b/bioimageio_chatbot/static/index.html
@@ -783,6 +783,8 @@ Welcome to BioImage.IO Chatbot
throw new Error(`Invalid extension ${extension.id}, type should be bioimageio-chatbot-extension`)
_removeRpcObj(extension)
+ extension.info = extension.info || {}
+
const schemas = await extension.get_schema()
for (let k of Object.keys(schemas)) {
const schema = schemas[k]