Spaces:
Running
Running
Update src/ux_agent.py
Browse files- src/ux_agent.py +7 -0
src/ux_agent.py
CHANGED
|
@@ -1066,6 +1066,13 @@ class AgentUX:
|
|
| 1066 |
deploy_btn = gr.Button("🚀 Force Deploy (Zero Gas)", variant="stop")
|
| 1067 |
deployment_output = gr.Textbox(label="Deployment Result", interactive=False)
|
| 1068 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1069 |
# --- TAB 6: BUG REPORTS & FEEDBACK ---
|
| 1070 |
with gr.Tab("🐛 Bug Reports & Feedback"):
|
| 1071 |
gr.Markdown("### 🛡️ Secure System Feedback Log")
|
|
|
|
| 1066 |
deploy_btn = gr.Button("🚀 Force Deploy (Zero Gas)", variant="stop")
|
| 1067 |
deployment_output = gr.Textbox(label="Deployment Result", interactive=False)
|
| 1068 |
|
| 1069 |
+
# 🟢 FIX: Connect the Deploy Button to the Trust Agent
|
| 1070 |
+
deploy_btn.click(
|
| 1071 |
+
fn=self.trust.force_deploy_contract,
|
| 1072 |
+
inputs=[bytecode_input],
|
| 1073 |
+
outputs=[deployment_output]
|
| 1074 |
+
)
|
| 1075 |
+
|
| 1076 |
# --- TAB 6: BUG REPORTS & FEEDBACK ---
|
| 1077 |
with gr.Tab("🐛 Bug Reports & Feedback"):
|
| 1078 |
gr.Markdown("### 🛡️ Secure System Feedback Log")
|