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

Abierto
#9,826 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
postgresql, python

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
3.9k
Forks
918
Merge medio
2 d 12 h
PR fusionados (30 d)
35

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de pgadmin-org/pgadmin4

Todos los issues de pgadmin-org/pgadmin4

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.