Spaces:
Runtime error
Runtime error
modify Coder label
Browse files- Prompt/base_Prompts.py +1 -1
- 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
|
| 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="
|
| 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():
|