Support passing attachments as inputs when creating an agent run

Offen
#7,398 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 2 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Aktiv
Tech-Stack
python
Bereich
ai, backend

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Python
Sterne
578
Forks
366
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
127

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus mozilla/bugbug

Alle Issues in mozilla/bugbug

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.