add-new-model
Add support for a newly-released language or image generation model in pydantic-ai (e.g. openai:gpt-5.6, anthropic:claude-sonnet-5, openai:gpt-image-2). Use when a provider ships a new model id and you need to wire literals, profile flags, adapters, and tests to recognize it. Handles SDK-lag, gateway list conventions, capability probing, and direct image-model geometry.
التثبيت
انسخ هذا المجلد إلى مشروع Claude Code (يتطلب Node.js):
npx degit pydantic/pydantic-ai/.agents/skills/add-new-model .claude/skills/add-new-modelأو ثبّته لكل المشاريع:
npx degit pydantic/pydantic-ai/.agents/skills/add-new-model ~/.claude/skills/add-new-modelمحتوى الملف
من إنشاء مؤلفيه الأصليين ومنشور بترخيص MIT. نعرضه دون تغيير، مع ذكر المصدر ورابط إليه. المصدر ↗
…