Files
openobserve/tests/api-testing/helpers/o2ai_confirmations.json
T
Ashish Kolheandgithub-actions[bot] ed1b8de97e feat: two-way Slack app (ask OpenObserve from Slack, instance workspace) (#15553)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-21 16:07:27 +00:00

2 lines
996 B
JSON

{"_comment": "o2-ai confirmation_required frames: cli = src/agent/clis/handler.py _await_confirmation's dict (built the same way), o2_delete = src/opencode/events.py build_delete_confirmation_event, permission = events._handle_permission_asked. Re-record with tests/api-testing/helpers/recorders/record_o2ai_confirmations.py.", "cli": {"type": "confirmation_required", "tool": "kubectl-prod", "args": {"command": "rollout restart deployment/checkout -n prod-eu"}, "message": "The assistant wants to run: kubectl-prod rollout restart deployment/checkout -n prod-eu"}, "o2_delete": {"type": "confirmation_required", "tool": "o2_delete", "args": {"items": [{"resource_type": "dashboard", "name": "Checkout", "id": "d1", "params": {}}]}, "message": "Do you really want to delete the \"Checkout\" dashboard?"}, "permission": {"type": "confirmation_required", "tool": "bash", "args": {"permission_id": "per_1", "detail": "kubectl get pods"}, "message": "The assistant wants to run: kubectl get pods"}}