MCPcopy Create free account
hub / github.com/OpenCodeInterpreter/OpenCodeInterpreter / clear_history

Function clear_history

demo/chatbot.py:287–290  ·  view source on GitHub ↗
(history, jupyter_state, dialog_info, interpreter)

Source from the content-addressed store, hash-verified

285
286
287 def clear_history(history, jupyter_state, dialog_info, interpreter):
288 interpreter.dialog = []
289 jupyter_state.close()
290 return [], [], JupyterNotebook(), update_uuid(dialog_info)
291
292 interpreter = StreamingOpenCodeInterpreter(model_path=model_path)
293

Callers

nothing calls this directly

Calls 3

JupyterNotebookClass · 0.90
update_uuidFunction · 0.85
closeMethod · 0.80

Tested by

no test coverage detected