[BUG] pup docs api is not working

未关闭 适合新手
#993 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
68/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
rust
领域
cli

调研方向

从命令 pup docs api 的入口开始,追踪它如何请求 https://docs.datadoghq.com/api_reference/llms.txt;issue 提供了失败的命令和 HTTP 404,但没有指出源文件或测试。检查该命令现有的测试,并使用 Pup 2.4.1 重现问题。当 pup docs api 能列出主题或以 Markdown 格式获取某个主题,且不再出现报告中的 404 时,即为完成。

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

描述

bug

Describe the bug

Calling (or an agent calling) pup docs api results in an error

To Reproduce

Steps to reproduce the behavior:

  1. run pup docs api

Expected behavior

Per the pup docs command, I expect "List live API documentation topics or fetch a topic as Markdown"

Environment

  • OS: macOS Tahoe 26.5.1
  • Pup version: Pup 2.4.1 (rust 1.95.0; macos aarch64)
  • Authentication method: OAuth2

Command output

> pup docs api
Error: API docs request to https://docs.datadoghq.com/api_reference/llms.txt failed (HTTP 404 Not Found)

Additional context

Claude tried to use it to check APIs, and got an error instead and let me know.

主要语言
Rust
星标
1k
派生
138
平均合并
17 小时
30 天内合并 PR
82

环境准备

从这里开始

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

DataDog/pup 的其他 Issue

查看 DataDog/pup 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

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