We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c0e7489 + 9685f00 commit 7cec679Copy full SHA for 7cec679
1 file changed
agentrun/sandbox/model.py
@@ -337,19 +337,6 @@ def validate_template_constraints(self):
337
f"the current disk size is {self.disk_size}"
338
)
339
340
- if (
341
- self.template_type == TemplateType.CODE_INTERPRETER
342
- or self.template_type == TemplateType.AIO
343
- ):
344
345
- self.network_configuration
346
- and self.network_configuration.network_mode
347
- == TemplateNetworkMode.PRIVATE
348
349
- raise ValueError(
350
- "when template_type is CODE_INTERPRETER,"
351
- "network_mode cannot be PRIVATE"
352
- )
353
return self
354
355
0 commit comments