MCPcopy Create free account
hub / github.com/modelscope/ms-agent / save_spec_log

Method save_spec_log

ms_agent/skill/container.py:1425–1430  ·  view source on GitHub ↗

Save the execution spec to a markdown file in logs directory.

(self, output_path: Union[str, Path] = None)

Source from the content-addressed store, hash-verified

1423 return self.spec.to_markdown()
1424
1425 def save_spec_log(self, output_path: Union[str, Path] = None):
1426 """Save the execution spec to a markdown file in logs directory."""
1427 if output_path is None:
1428 output_path = self.logs_dir / 'execution_spec.md'
1429 self.spec.save(output_path)
1430 logger.info(f'Saved execution spec to: {output_path}')
1431
1432 def cleanup(self, keep_spec: bool = True):
1433 """

Callers 2

cleanupMethod · 0.95
save_execution_specMethod · 0.80

Calls 1

saveMethod · 0.45

Tested by

no test coverage detected