Support passing attachments as inputs when creating an agent run

Abierto
#7,398 0 comentarios 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
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
python
Área
ai, backend

Línea de trabajo

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.

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

Descripción

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

Lenguaje dominante
Python
Estrellas
578
Forks
366
Merge medio
2 d 19 h
PR fusionados (30 d)
136

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

Todos los issues de mozilla/bugbug

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.