Support passing attachments as inputs when creating an agent run

未关闭
#7,398 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
活跃
技术栈
python
领域
ai, backend

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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

主要语言
Python
星标
578
派生
366
平均合并
2 天 19 小时
30 天内合并 PR
136

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

mozilla/bugbug 的其他 Issue

查看 mozilla/bugbug 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。