Support passing attachments as inputs when creating an agent run

Aperta
#7,398 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
python
Ambito
ai, backend

Direzione di ricerca

Read the discussion from PR #6275 linked in the issue to understand the proposed attachment flow. The issue leaves the design undecided, including how large inputs should be uploaded and how the agent should receive read-only bucket access. Done means the maintainers choose an approach and define the implementation scope.

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

Descrizione

hackbot

Thanks for the PR! I can see the need for supporting a larger input payload.

That said, passing the environment variables does simplify the wiring in a lot of use cases, so I'd love to find a way to support both. One option: when we have a large input, we include an attachments field that lists the items and uploads them to a separate bucket, with a link the agent can use to read them from there. We'd also give the agent read-only permission for that bucket.

Let's discuss and decide how we want to move forward on this.

Originally posted by @suhaibmujahid in https://github.com/mozilla/bugbug/pull/6275#pullrequestreview-4619613118

Lingua principale
Python
Stelle
578
Fork
366
Merge medio
2g 19h
PR unite (30g)
136

Preparare l'ambiente

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 mozilla/bugbug

Tutte le issue di mozilla/bugbug

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.