MCPcopy Create free account
hub / github.com/ScaleML/AgentSPEX / SubmoduleParamSpec

Class SubmoduleParamSpec

src/harness/submodules/specs.py:7–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5
6@dataclass(frozen=True)
7class SubmoduleParamSpec:
8 name: str
9 param_type: str = "string"
10 description: str = ""
11 required: bool = True
12 source: str = "model" # "model" or "context"
13 default: Any = None
14 schema: Optional[Dict[str, Any]] = None
15
16
17@dataclass(frozen=True)

Callers 7

test_default_valuesMethod · 0.90
test_custom_valuesMethod · 0.90
test_frozenMethod · 0.90
test_with_paramsMethod · 0.90
test_tool_with_paramsMethod · 0.90
test_tool_with_schemaMethod · 0.90

Calls

no outgoing calls

Tested by 6

test_default_valuesMethod · 0.72
test_custom_valuesMethod · 0.72
test_frozenMethod · 0.72
test_with_paramsMethod · 0.72
test_tool_with_paramsMethod · 0.72
test_tool_with_schemaMethod · 0.72