Skip to content

Commit

Permalink
Merge pull request #153 from bioimage-io/extension-info
Browse files Browse the repository at this point in the history
Fix extension.info bug
  • Loading branch information
alalulu8668 authored Aug 21, 2024
2 parents e01121d + f03c5d7 commit f7e2d32
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bioimageio_chatbot/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,8 @@ <h3 class="text-center">Welcome to BioImage.IO Chatbot</h3>
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]
Expand Down

0 comments on commit f7e2d32

Please sign in to comment.