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

Method add_message

toolbench/inference/LLM/davinci_model.py:46–47  ·  view source on GitHub ↗
(self, message)

Source from the content-addressed store, hash-verified

44 return result, response["usage"]
45
46 def add_message(self, message):
47 self.conversation_history.append(message)
48
49 def change_messages(self,messages):
50 self.conversation_history = messages

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected