Skip to content

Commit

Permalink
expose version
Browse files Browse the repository at this point in the history
  • Loading branch information
oeway committed Apr 2, 2024
1 parent ed6fe44 commit 2096716
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bioimageio_chatbot/chatbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,11 +388,13 @@ async def ping(context=None):
return "pong"

assistant_keys = ["name", "extensions", "alias", "icon", "welcome_message", "code_interpreter"]
version = pkg_resources.get_distribution("bioimageio-chatbot").version
hypha_service_info = await server.register_service(
{
"name": "BioImage.IO Chatbot",
"id": "bioimageio-chatbot",
"config": {"visibility": "public", "require_context": True},
"version": version,
"ping": ping,
"chat": chat,
"report": report,
Expand Down

0 comments on commit 2096716

Please sign in to comment.