MCPcopy Create free account
hub / github.com/OpenBMB/ToolBench / add_message

Method add_message

toolbench/inference/LLM/llama_model.py:51–52  ·  view source on GitHub ↗
(self, message)

Source from the content-addressed store, hash-verified

49 return prediction
50
51 def add_message(self, message):
52 self.conversation_history.append(message)
53
54 def change_messages(self,messages):
55 self.conversation_history = messages

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected