MCPcopy Create free account
hub / github.com/SamuelSchmidgall/AgentLaboratory / docstring

Method docstring

papersolver.py:97–103  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

95 self.cmd_type = "PAPER-replace"
96
97 def docstring(self) -> str:
98 return (
99 "============= PAPER REPLACING TOOL =============\n"
100 "You also have access to a paper replacing tool. \n"
101 "This tool allows you to entirely re-write/replace all of the current latex and erase all existing latex.\n"
102 "You can use this tool via the following command: ```REPLACE\n<latex here>\n```, where REPLACE is the word REPLACE and <latex here> will be the new latex that is replacing the entire set of old latex. This tool is useful if you want to make very significant changes, such as entirely changing the model, or the learning process. Before changing the existing latex to be your new latex, your new latex will be tested and if it returns an error it will not replace the existing latex. Try limiting the use of rewriting and aim for editing the latex more."
103 )
104
105 def execute_command(self, *args) -> str:
106 # args[0] -> new latex

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected