Added flag to disable the V1 endpoints inside nested V0 runtimes (#11391)

This commit is contained in:
Tim O'Farrell
2025-10-15 15:33:52 -06:00
committed by GitHub
parent e9413aaded
commit f4fd8ea907
8 changed files with 15 additions and 21 deletions

View File

@@ -30,6 +30,7 @@ class ServerConfig(ServerConfigInterface):
user_auth_class: str = (
'openhands.server.user_auth.default_user_auth.DefaultUserAuth'
)
enable_v1: bool = os.getenv('ENABLE_V1') != '0'
def verify_config(self):
if self.config_cls: