·pydantic-ai-common-pitfalls
</>

pydantic-ai-common-pitfalls

existential-birds/beagle

避免 PydanticAI 代理中的常见错误和调试问题。在遇到错误、意外行为或检查代理实现时使用。

72安装·2热度·@existential-birds

安装

$npx skills add https://github.com/existential-birds/beagle --skill pydantic-ai-common-pitfalls

SKILL.md

Why this works: PydanticAI inspects function signatures. If the first parameter is RunContext[T], it's treated as a context-aware tool. No decorator required.

Reference: https://ai.pydantic.dev/agents/#registering-tools-via-the-tools-argument

Do NOT flag code that passes functions with RunContext signatures to Agent(tools=[...]). This is equivalent to using @agent.tool and is explicitly documented.

避免 PydanticAI 代理中的常见错误和调试问题。在遇到错误、意外行为或检查代理实现时使用。 来源:existential-birds/beagle。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/existential-birds/beagle --skill pydantic-ai-common-pitfalls
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 pydantic-ai-common-pitfalls?

避免 PydanticAI 代理中的常见错误和调试问题。在遇到错误、意外行为或检查代理实现时使用。 来源:existential-birds/beagle。

如何安装 pydantic-ai-common-pitfalls?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/existential-birds/beagle --skill pydantic-ai-common-pitfalls 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/existential-birds/beagle