gleanwork / gleanwork/api-client-python
`agents.retrieve` throwing 500
未关闭
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 20
- 派生
- 10
- 平均合并
- 1 天 6 小时
- 30 天内合并 PR
- 17
描述
ENVIRONMENT:
- SDK version: 0.6.6
- Python: 3.13.5
- OS: linux
- Date Reported: 07/02/2025
REPRODUCING:
with Glean(api_token=config.GLEAN_API_TOKEN, instance=config.GLEAN_INSTANCE) as glean:
agent = glean.client.agents.retrieve(agent_id=config.GLEAN_AGENT_ID)
Other endpoints such as retrieve_schemas and list are working with the same config
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,使用 SDK 0.6.6、Python 3.13.5 和相同的配置复现所提供的 agents.retrieve 调用,然后将其行为与 retrieve_schemas 和 list 进行比较。检查 retrieve 端点的请求和响应处理;在报告的设置下该调用不再返回 HTTP 500 即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- api
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100