Update app.py
Browse files
app.py
CHANGED
@@ -121,11 +121,11 @@ iface = gr.Interface(
|
|
121 |
gr.Textbox(label="Documentation Messages"),
|
122 |
],
|
123 |
title="Team Workflow with Documentation Agent and Hard Cap",
|
124 |
-
description="""Collaborative workflow between Primary, Critic, and Documentation agents.
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
)
|
130 |
|
131 |
# Launch the app
|
|
|
121 |
gr.Textbox(label="Documentation Messages"),
|
122 |
],
|
123 |
title="Team Workflow with Documentation Agent and Hard Cap",
|
124 |
+
description="""Collaborative workflow between Primary, Critic, and Documentation agents.
|
125 |
+
1. The user can send a prompt to the primary agent.
|
126 |
+
2. The response will then be evaluated by the critic, which either sends feedback back to the primary agent or gives the APPROVAL sign.
|
127 |
+
3. If the APPROVAL sign is given, the documentation agent is asked to write a short documentation for the code (that has been approved by the critic and generated by the priamry agent.
|
128 |
+
(Note: There is a hard cap of 10 messages for the critic to approve the output of the primary agent. If it fails to do so the workflow is interrupted to prevent long loops)"""
|
129 |
)
|
130 |
|
131 |
# Launch the app
|