Improving aios_shell: We now have a basic, expandable framework, along with some basic features that will facilitate future testing.

This commit is contained in:
Liu Zhicong
2023-08-30 23:01:44 -07:00
parent 05d2e4a9cf
commit 93b6b8e7f2
2 changed files with 125 additions and 39 deletions
+1 -1
View File
@@ -180,7 +180,7 @@ class Workflow:
resp = await callchain.exec()
if callchain.have_result():
# generator proc resp prompt with WAITING state
proc_resp_prompt:AgentPrompt = self._get_resp_prompt(resp,msg,the_role,prompt,chatsession)
#proc_resp_prompt:AgentPrompt = self._get_resp_prompt(resp,msg,the_role,prompt,chatsession)
final_result = await ComputeKernel().do_llm_completion(proc_resp_prompt,the_role.agent.get_llm_model_name(),the_role.agent.get_max_token_size())
return final_result