Update app.py
Browse files
app.py
CHANGED
|
@@ -121,7 +121,12 @@ iface = gr.Interface(
|
|
| 121 |
gr.Textbox(label="Documentation Messages"),
|
| 122 |
],
|
| 123 |
title="Team Workflow with Documentation Agent and Hard Cap",
|
| 124 |
-
description="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 125 |
)
|
| 126 |
|
| 127 |
# Launch the app
|
|
|
|
| 121 |
gr.Textbox(label="Documentation Messages"),
|
| 122 |
],
|
| 123 |
title="Team Workflow with Documentation Agent and Hard Cap",
|
| 124 |
+
description="""
|
| 125 |
+
"""Collaborative workflow between Primary, Critic, and Documentation agents.""""
|
| 126 |
+
"""1. The user can send a prompt to the primary agent."""
|
| 127 |
+
"""2. The response will then be evaluated by the critic, which either sends feedback back to the primary agent or gives the APPROVAL sign."""
|
| 128 |
+
"""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."""
|
| 129 |
+
"""(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)"""
|
| 130 |
)
|
| 131 |
|
| 132 |
# Launch the app
|