Support passing attachments as inputs when creating an agent run

Aberta
#7,398 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 2 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
25/100
Tipo de issue
Funcionalidade
Clareza
Precisa de esclarecimento
Status de atividade
Ativa
Stack de tecnologia
python
Domínio
ai, backend

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
Python
Estrelas
578
Forks
366
Merge médio
2d 19h
PRs com merge (30d)
136

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de mozilla/bugbug

Todas as issues de mozilla/bugbug

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.