Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/huggingface/smolagents
/ dict
Method
dict
src/smolagents/memory.py:30–38 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
28
id: str
29
30
def
dict(self):
31
return
{
32
"id"
: self.id,
33
"type"
:
"function"
,
34
"function"
: {
35
"name"
: self.name,
36
"arguments"
: make_json_serializable(self.arguments),
37
},
38
}
39
40
41
@dataclass
Callers
15
dict
Method · 0.45
to_messages
Method · 0.45
dict
Method · 0.45
get_succinct_steps
Method · 0.45
get_full_steps
Method · 0.45
test_exa_missing_api_key
Method · 0.45
test_exa_search_results
Method · 0.45
test_exa_no_results
Method · 0.45
test_exa_empty_highlights
Method · 0.45
test_exa_null_highlights
Method · 0.45
test_blaxel_executor_instantiation_without_blaxel_sdk
Method · 0.45
test_from_dict
Method · 0.45
Calls
1
make_json_serializable
Function · 0.90
Tested by
11
test_exa_missing_api_key
Method · 0.36
test_exa_search_results
Method · 0.36
test_exa_no_results
Method · 0.36
test_exa_empty_highlights
Method · 0.36
test_exa_null_highlights
Method · 0.36
test_blaxel_executor_instantiation_without_blaxel_sdk
Method · 0.36
test_from_dict
Method · 0.36
test_multiagent_to_dict_from_dict_roundtrip
Method · 0.36
test_from_dict_invalid_agent_class
Method · 0.36
test_from_folder
Method · 0.36
test_from_dict
Method · 0.36