AI Chat should have a "Propose action only" instead of executing immediately

Đang mở
#9,826 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
postgresql, python
Lĩnh vực
ai, databases, security

Hướng nghiên cứu

Start by tracing the AI Chat command flow that currently mounts and executes SQL, then identify where a disabled or proposal-only mode would be represented. Verify that read and destructive requests both produce a proposal without execution, and confirm the behavior against the described invoice-query examples and the vLLM/Qwen setup.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Feature

Describe the solution you'd like

I would like to enable/disable the automatic execution of commands on AI Chat. Currently, AFAIK, when the user asks "tell me the last 10 invoices", the chat mount AND execute the query. It's highly insecure if user says "delete last 10 invoices". In the "Disabled mode" the AI Chat never executes a command, just propose one.

Describe alternatives you've considered

Start the prompt with "Do not execute the command, only show SQL for: ..."

Additional context

Using version 9.14 with vllm and Qwen 3.5 model.

Ngôn ngữ chính
Python
Star
3.9k
Fork
918
Merge trung bình
2 ngày 12 giờ
Pull request đã merge (30 ngày)
35

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pgadmin-org/pgadmin4

Tất cả issue của pgadmin-org/pgadmin4

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.