callanwu commited on
Commit
32ad567
·
1 Parent(s): 200916c

modify Coder label

Browse files
Files changed (2) hide show
  1. Prompt/base_Prompts.py +1 -1
  2. app.py +1 -1
Prompt/base_Prompts.py CHANGED
@@ -78,7 +78,7 @@ Here is the new chat history:\\n {conversations};\\n\
78
  # Agent========================================================================================================
79
  Agent_summary_system_prompt = "f\"{summary_prompt};\\n Here is the past summary:{self.short_term_memory};\\nHere is the new chat_history:\\n{conversations};\\nPlease summary Please summarize based on the above information;\\n\""
80
 
81
- Agent_last_prompt = "f\"{last_prompt};Please continue the talk based on your known information;Remember that you just represent {name}, do not speak for others,just speak as normal.\""
82
 
83
  Agent_system_prompt = "f\"{system_prompt},\""
84
  # Agent========================================================================================================
 
78
  # Agent========================================================================================================
79
  Agent_summary_system_prompt = "f\"{summary_prompt};\\n Here is the past summary:{self.short_term_memory};\\nHere is the new chat_history:\\n{conversations};\\nPlease summary Please summarize based on the above information;\\n\""
80
 
81
+ Agent_last_prompt = "f\"{last_prompt};Please continue the conversation on behalf of {name} based on your known information and chat history;Please make your answer appear as natural and coherent as possible\""
82
 
83
  Agent_system_prompt = "f\"{system_prompt},\""
84
  # Agent========================================================================================================
app.py CHANGED
@@ -144,7 +144,7 @@ class CodeUI(WebUI):
144
  with gr.Row():
145
  requirement = gr.Textbox(value ="A software company aim to write a mine sweeping game",label="requirement")
146
  with gr.Row():
147
- need_coder = gr.CheckboxGroup(["Coder"],label="Demand for coder")
148
  with gr.Row():
149
  self.target_finish_flag = gr.Label(value = "The process of completing requirement handling is finished.",visible=False)
150
  with gr.Row():
 
144
  with gr.Row():
145
  requirement = gr.Textbox(value ="A software company aim to write a mine sweeping game",label="requirement")
146
  with gr.Row():
147
+ need_coder = gr.CheckboxGroup(["Coder"],label="Please check this option if your multi-agent system aims to produce code.")
148
  with gr.Row():
149
  self.target_finish_flag = gr.Label(value = "The process of completing requirement handling is finished.",visible=False)
150
  with gr.Row():