Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
Replaced pkg_resources
Dillon DuPont7f6523e00143
diff --git a/libs/python/computer-server/computer_server/main.py b/libs/python/computer-server/computer_server/main.pyindex 306f3cd267..ab1a9f309c 100644--- a/libs/python/computer-server/computer_server/main.py+++ b/libs/python/computer-server/computer_server/main.py@@ -32,10 +32,15 @@ app = FastAPI(protocol_version = 1try:- import pkg_resources- package_version = pkg_resources.get_distribution("cua-computer-server").version-except pkg_resources.DistributionNotFound:- package_version = "unknown"+ from importlib.metadata import version+ package_version = version("cua-computer-server")+except Exception:+ # Fallback for cases where package is not installed or importlib.metadata is not available+ try:+ import pkg_resources+ package_version = pkg_resources.get_distribution("cua-computer-server").version+ except Exception:+ package_version = "unknown"accessibility_handler, automation_handler, diorama_handler, file_handler = HandlerFactory.create_handlers()handlers = {