Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenBMB/BMTools
/ reset_session
Method
reset_session
bmtools/tools/code_interpreter/api.py:23–25 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
21
return
f
"Error: {str(e)}"
22
23
def
reset_session(self):
24
self.globals = {}
25
self.locals = {}
26
27
def
build_tool(config) -> Tool:
28
tool = Tool(
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected