Use LLMProcess implement Agent.OnMessage

This commit is contained in:
Liu Zhicong
2023-12-09 18:39:42 -08:00
parent 0708daf2ec
commit ddee31c6ab
20 changed files with 1689 additions and 116 deletions
+5
View File
@@ -75,6 +75,11 @@ class AgentMsg:
self.inner_call_chain = []
self.resp_msg = None
self.action_list = []
#context info
self.context_info:dict= {}
@classmethod
def from_json(cls,json_obj:dict) -> 'AgentMsg':
msg = AgentMsg()