跳到正文
我的
prompts.chat · 每日 prompt· Fatih Kadir Akın·· 10 小时前AI 评分11

prompts.chat PR #1337:将仅含 slug 的 bot URL 永久重定向到规范的 /bots/ 地址

Redirect slug-only bot URLs to the canonical /bots/ _ (#1337) Co-authored-by: Cursor Agent

来源与原文

prompts.chat · 每日 prompt

作者:Fatih Kadir Akın

发布时间:(北京时间)

阅读原始来源 · github.com ↗
完整链接与内容说明

https://github.com/f/prompts.chat/commit/7b6dfbfc85d15048885a033f10cce8a5e0c863a1

本站目前仅有 AI 导读与摘要,未展示原文正文;技术细节、代码和完整结论请查看原始来源。

AI 导读

prompts.chat 合入 PR #1337,将仅含 slug 的 bot URL 永久重定向(308)到规范的 id_slug 格式地址,如 /bots/abc123_code-reviewer。该提交附带 Vitest 测试,覆盖了 id 前缀失效时回退到 slug、私有 bot 按查看者权限解析、保留字段不当作 slug、以及未知 slug 返回 404 等场景,并由 Cursor Agent 协作完成。

来源:prompts.chat · 每日 prompt · github.com

这条消息,你怎么看?

把新闻带到 MickerBook,和社区伙伴聊聊;也可以去 AIHER 看看模型背后的角色与梗。