MCPcopy
hub / github.com/huggingface/smolagents / append

Method append

src/smolagents/local_python_executor.py:244–246  ·  view source on GitHub ↗
(self, text)

Source from the content-addressed store, hash-verified

242 self.value = ""
243
244 def append(self, text):
245 self.value += text
246 return self
247
248 def __iadd__(self, other):
249 """Implements the += operator"""

Callers 15

test_appendMethod · 0.95
test_strMethod · 0.95
test_reprMethod · 0.95
test_lenMethod · 0.95
runMethod · 0.80
_run_streamMethod · 0.80
provide_final_answerMethod · 0.80
from_dictMethod · 0.80
from_folderMethod · 0.80
_step_streamMethod · 0.80

Calls

no outgoing calls

Tested by 9

test_appendMethod · 0.76
test_strMethod · 0.76
test_reprMethod · 0.76
test_lenMethod · 0.76
serialize_dataMethod · 0.64