MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / _openkb_version

Function _openkb_version

openkb/cli.py:2147–2157  ·  view source on GitHub ↗

Return the installed openkb package version. Delegates to ``openkb.__version__`` so the chat REPL, feedback issue body, and any future caller all surface the same fallback string (``0.0.0+unknown`` from ``openkb/__init__.py``). Mirrors ``openkb.agent.chat._openkb_version``.

()

Source from the content-addressed store, hash-verified

2145
2146
2147def _openkb_version() -> str:
2148 """Return the installed openkb package version.
2149
2150 Delegates to ``openkb.__version__`` so the chat REPL, feedback issue
2151 body, and any future caller all surface the same fallback string
2152 (``0.0.0+unknown`` from ``openkb/__init__.py``). Mirrors
2153 ``openkb.agent.chat._openkb_version``.
2154 """
2155 from openkb import __version__
2156
2157 return __version__
2158
2159
2160def _collect_feedback_diagnostics(ctx) -> dict[str, str]:

Calls

no outgoing calls