Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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_append
Method · 0.95
test_str
Method · 0.95
test_repr
Method · 0.95
test_len
Method · 0.95
_validate_tools_and_managed_agents
Method · 0.80
run
Method · 0.80
_run_stream
Method · 0.80
_handle_max_steps_reached
Method · 0.80
provide_final_answer
Method · 0.80
from_dict
Method · 0.80
from_folder
Method · 0.80
_step_stream
Method · 0.80
Calls
no outgoing calls
Tested by
9
test_append
Method · 0.76
test_str
Method · 0.76
test_repr
Method · 0.76
test_len
Method · 0.76
test_agent_types_inputs
Method · 0.64
test_replay_with_chatmessage
Method · 0.64
test_planning_step_with_injected_memory
Method · 0.64
serialize_data
Method · 0.64
test_concurrent_serialization
Method · 0.64