MCPcopy Create free account
hub / github.com/HKUDS/OpenSpace / validate_shell

Method validate_shell

openspace/config/grounding.py:76–79  ·  view source on GitHub ↗
(cls, v)

Source from the content-addressed store, hash-verified

74 @field_validator('default_shell')
75 @classmethod
76 def validate_shell(cls, v):
77 if not v or not isinstance(v, str):
78 raise ValueError("Shell path must be a non-empty string")
79 return v
80
81 @field_validator('working_dir')
82 @classmethod

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected