Spaces:
Paused
Paused
Update app_gradio.py
Browse files- app_gradio.py +5 -1
app_gradio.py
CHANGED
|
@@ -93,7 +93,11 @@ def get_default_state():
|
|
| 93 |
"execution_path": [],
|
| 94 |
"chatHistory": [],
|
| 95 |
"current_cost": 0.0,
|
| 96 |
-
"budget_exceeded": False
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
}
|
| 98 |
|
| 99 |
def reset_all_artifacts_and_context():
|
|
|
|
| 93 |
"execution_path": [],
|
| 94 |
"chatHistory": [],
|
| 95 |
"current_cost": 0.0,
|
| 96 |
+
"budget_exceeded": False,
|
| 97 |
+
"flexible_budget_mode": False, # boolean — user allows flexible budget handling
|
| 98 |
+
"preferred_tier": "full", # "lite" | "standard" | "full" or None
|
| 99 |
+
"allow_escalation": True, # if True, governance may request manual sign-off rather than reject
|
| 100 |
+
"auto_accept_approved_with_warning": False, # if True, app proceeds when governance gives approve_with_warning
|
| 101 |
}
|
| 102 |
|
| 103 |
def reset_all_artifacts_and_context():
|