{renv} console prompts for installing packages interrupt AI agent

Aperta
#158 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
57/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
r

Direzione di ricerca

Start by reproducing the reported install.packages("mirai") prompt in a renv project and check how Posit Assistant handles interactive console input. The issue gives no source files or tests to start from, so trace the console handling entry point and identify a way to alert the user when input is required. Done means the user can tell that the process is waiting for a response.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

If the agent requires to install a package in a renv project, console outputs this:

> install.packages("mirai")
- Querying repositories for available source packages ... Done!
The following package(s) will be installed:
- mirai    [2.7.4]
- nanonext [1.10.4]
These packages will be installed into "~/Documents/Inversión Subdere/inversion_db/renv/library/macos/R-4.6/x86_64-apple-darwin20".

Do you want to proceed? [Y/n]: 

In this case, Posit Assistant keeps waiting for user input in console, but does not alert the user that they have to answer, and if the console is not visible it would be impossible for the user to know if they are waiting for a slow install or something else. It seems the interactive console user prompt Do you want to proceed? [Y/n]: is not visible to the IA, or maybe related to console hijacking by said kind of user input.

Lingua principale
Nessun dato sulla lingua
Stelle
5
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di posit-dev/assistant-feedback

Tutte le issue di posit-dev/assistant-feedback

Issue simili

Altre issue su DevTools

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.