跳到正文
github.com(经 Hacker News)·· 2026-06-23AI 评分30

Show HN:用 pydantic-AI 和 litellm 把 LLM 提示词路由到最便宜的可胜任模型

Show HN: Route LLM prompts to cheapest capable model – pydantic-AI and litellm

阅读原文

本站未展示全文,请前往来源网站阅读。

AI 导读

一位开发者在 Hacker News 上发布项目,借助 pydantic-AI 和 litellm 将 LLM 提示词路由到成本最低且足以胜任的模型。该方案面向提示词成本优化场景,目前获得 1 分、暂无评论。

来源:github.com(经 Hacker News) · github.com