Update app.py
Browse files
app.py
CHANGED
@@ -111,7 +111,7 @@ iface = gr.Interface(
|
|
111 |
inputs=[
|
112 |
gr.Textbox(label="OpenAI API Key", type="password", placeholder="Enter your OpenAI API Key"),
|
113 |
gr.Textbox(label="Primary Agent System Message", placeholder="Enter the system message for the primary agent", value="You are a creative assistant focused on producing high-quality code."),
|
114 |
-
gr.Textbox(label="Critic Agent System Message", placeholder="Enter the system message for the critic agent (requires APPROVAL tag!)", value="You are a critic assistant highly skilled in evaluating the quality of a given code or response. Provide constructive feedback and respond with 'APPROVE' once the feedback is addressed."),
|
115 |
gr.Textbox(label="Documentation Agent System Message", placeholder="Enter the system message for the documentation agent", value="You are a documentation assistant. Write a short and concise '--help' message for the provided code."),
|
116 |
gr.Textbox(label="Task Message", placeholder="Code a random password generator using python."),
|
117 |
],
|
|
|
111 |
inputs=[
|
112 |
gr.Textbox(label="OpenAI API Key", type="password", placeholder="Enter your OpenAI API Key"),
|
113 |
gr.Textbox(label="Primary Agent System Message", placeholder="Enter the system message for the primary agent", value="You are a creative assistant focused on producing high-quality code."),
|
114 |
+
gr.Textbox(label="Critic Agent System Message", placeholder="Enter the system message for the critic agent (requires APPROVAL tag!)", value="You are a critic assistant highly skilled in evaluating the quality of a given code or response. Provide constructive feedback and respond with 'APPROVE' once the feedback is addressed. Never produce any code or other output yourself, only provide feedback!"),
|
115 |
gr.Textbox(label="Documentation Agent System Message", placeholder="Enter the system message for the documentation agent", value="You are a documentation assistant. Write a short and concise '--help' message for the provided code."),
|
116 |
gr.Textbox(label="Task Message", placeholder="Code a random password generator using python."),
|
117 |
],
|