MCPcopy Index your code
hub / github.com/showlab/Code2Video / get_serializable_state

Method get_serializable_state

src/agent.py:134–136  ·  view source on GitHub ↗

返回可以序列化保存的Agent状态

(self)

Source from the content-addressed store, hash-verified

132 return response
133
134 def get_serializable_state(self):
135 """返回可以序列化保存的Agent状态"""
136 return {"idx": self.idx, "knowledge_point": self.learning_topic, "folder": self.folder, "cfg": self.cfg}
137
138 def generate_outline(self) -> TeachingOutline:
139 outline_file = self.output_dir / "outline.json"

Callers 1

render_all_sectionsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected