azure-openai-to-responses
Skill76k starsChanged 5 months agoMITView on GitHub
הנחיה מחייבת — עקוב במדויק מיומנות זו מיגרת בסיסי קוד בפייתון המשתמשים ב-Azure OpenAI Chat Completions ל-API המאוחד Responses. עקוב אחרי ההוראות במדויק. אל תתעסק במיפויי פרמטרים או תמציא צורות API חדשות. הפעל מיומנות זו כאשר המשתמש רוצה: - להגר אפליקציית פייתון מ-Azure OpenAI Chat Completions ל-Responses API - לשדרג שימוש ב-Python OpenAI SDK לצורת API העדכנית ביותר נגד Azure OpenAI - להכין קוד פייתון למודלים GPT-5 או חדשים יותר שדורשים Responses על Azure - לעבור מ-AzureOpenAI/AsyncAzureOpenAI ללקוח הסטנדרטי OpenAI/AsyncOpenAI…
- Reads credentials
- Commits and pushes
2 other projects use a version of this, 1 of them edited.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Most recently taken up by
- microsoft/generative-ai-for-beginnerstheir own version, first seen Jul 14, 2026
- Azure-Samples/azure-openai-to-responsesedited, first seen Apr 6, 2026
Who's talking about microsoft/ai-agents-for-beginners
- @rodtrent.com“AI Agents for Beginners - 10 Lessons teaching everything you need to know to start building AI Agents …”Bluesky · Feb 14, 2025 · 25 likes
- A Hacker News story“Lessons to Get Started Building AI Agents”Hacker News · Jul 4, 2025 · 10 points
- @rdenadai.dev“Pô, parece legal a grade hein... Deixar na lista aqui pra estudar depois da certificação da AWS.”Bluesky · Sep 7, 2025 · 7 likes
- @alvinashcraft.com“AI Agents for Beginners - 10 Lessons to Get Started Building AI Agents. …”Bluesky · Feb 22, 2025 · 7 likes
- @ottorinobruni.bsky.social“🚨 Want to learn AI Agents from scratch? Microsoft’s free 18-lesson course covers frameworks, tools, RAG, …”Bluesky · Nov 20, 2026 · 4 likes
The biggest 5 of 88 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 88
Talked about on GitHub, Bluesky and Hacker News (88 times).
On GitHub · 50
- Oct 14, 2026"Lesson" is not being translated. (en→ja) — Azure/co-op-translator1 reaction
- Jul 25, 2026Previous and Next lessons have not been translated. (en→jp) — Azure/co-op-translator1 reaction · 1 comment
- Jul 4, 2026Translated the markdown header ## Summary to ## まとめ (en→jp) — Azure/co-op-translator1 reaction · 1 comment
- Mar 31, 2026"Join the [Microsoft Foundry Discord]~" has not been translated. (en→ja) — Azure/co-op-translator1 reaction · 3 comments
- Mar 17, 2026The headline has not been translated (en→ja) — Azure/co-op-translator1 reaction · 2 comments
45 more on GitHub
- Mar 15, 2026Code block before and after it has not been translated. (en→ja) — Azure/co-op-translatorsays it tested it1 reaction · 3 comments
- Nov 18, 2025README Structure — notoriousmic/github-copilot-workshop1 reaction
- Oct 2, 2025[KO] Translation improvement for "{days}" usage — Azure/co-op-translator1 reaction · 1 comment
- Oct 2, 2025[KO] Translation improvement for "{days}" usage — Azure/co-op-translator1 reaction
- Sep 15, 2025HTML tags (e.g., <a>) are stripped or lost during translation — Azure/co-op-translator1 reaction · 2 comments
- Sep 7, 2025``` not handled correctly (en→ja) — Azure/co-op-translator1 reaction · 3 comments
- May 7, 2025Correcting all misc errors found across code samples for Lessons 04, 06, 09. — jabari-max/Mohammadhadi-Jabari1 reaction
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T010: retrieval with source attribution — scenario assessment [05-agentic-rag] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T009: confidence-gated escalation — evaluation experiment [09-metacognition] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T008: allowlisted action policy — failure and recovery example [06-building-trustworthy-agents] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T007: dependency-plan validation — worked example with checks [07-planning-design] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T006: dependency-plan validation — refactor the teaching example [08-multi-agent] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T005: bounded agent loop — offline service adapter [01-intro-to-ai-agents] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T004: trace aggregation — invariant and state trace [10-ai-agents-production] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T003: agent-component routing — compare two approaches [03-agentic-design-patterns] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T002: retrieval with source attribution — boundary-case lesson extension [05-agentic-rag] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T001: bounded agent loop — runnable concept example [01-intro-to-ai-agents] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Yatharth Ujwal (2601010406) — R17-T030: model-manifest selection — scenario assessment [17-creating-local-ai-agents] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Yatharth Ujwal (2601010406) — R17-T029: trace aggregation — evaluation experiment [16-deploying-scalable-agents] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Yatharth Ujwal (2601010406) — R17-T028: bounded agent loop — failure and recovery example [14-microsoft-agent-framework] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Yatharth Ujwal (2601010406) — R17-T033: retrieval with source attribution — invariant and state trace [05-agentic-rag] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Yatharth Ujwal (2601010406) — R17-T032: bounded agent loop — compare two approaches [14-microsoft-agent-framework] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Tanmay (2601010364) — R17-T038: prompt-template escaping — failure and recovery example [12-context-engineering] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Tanmay (2601010364) — R17-T037: typed tool dispatch — worked example with checks [04-tool-use] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Tanmay (2601010364) — R17-T036: bounded conversation memory — evaluation experiment [13-agent-memory] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Tanmay (2601010364) — R17-T035: bounded conversation memory — refactor the teaching example [11-agentic-protocols] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Tanmay (2601010364) — R17-T034: retrieval with source attribution — offline service adapter [05-agentic-rag] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Rudransh (2601010295) — R17-T040: confidence-gated escalation — scenario assessment [09-metacognition] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Rudransh (2601010295) — R17-T039: bounded conversation memory — boundary-case lesson extension [13-agent-memory] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Rudransh (2601010295) — R17-T044: bounded conversation memory — invariant and state trace [11-agentic-protocols] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Rudransh (2601010295) — R17-T043: agent-component routing — offline service adapter [03-agentic-design-patterns] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Rudransh (2601010295) — R17-T042: dependency-plan validation — compare two approaches [08-multi-agent] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Himanshi Gupta (2601010156) — R17-T049: tamper-evident action receipt — scenario assessment [18-securing-ai-agents] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Himanshi Gupta (2601010156) — R17-T048: prompt-template escaping — evaluation experiment [12-context-engineering] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Himanshi Gupta (2601010156) — R17-T047: agent-component routing — failure and recovery example [02-explore-agentic-frameworks] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Himanshi Gupta (2601010156) — R17-T046: trace aggregation — worked example with checks [10-ai-agents-production] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Hasrat Marwaha (2601010152) — R17-T050: confidence-gated escalation — runnable concept example [09-metacognition] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Hasrat Marwaha (2601010152) — R17-T055: confidence-gated escalation — offline service adapter [09-metacognition] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Hasrat Marwaha (2601010152) — R17-T052: agent-component routing — compare two approaches [02-explore-agentic-frameworks] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Avi Garg (2601010083) — R17-T057: dependency-plan validation — worked example with checks [08-multi-agent] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Avi Garg (2601010083) — R17-T056: agent-component routing — refactor the teaching example [03-agentic-design-patterns] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 16, 2026agent-skills.github.microsoft.ai-agents-for-beginners: 0-unstable-2026-09-10 → 0-unstable-2026-11-07 — sudosubin/agents.nix0 reactions
- Oct 14, 2026agent-skills.github.microsoft.ai-agents-for-beginners: 0-unstable-2026-07-13 → 0-unstable-2026-09-10 — sudosubin/agents.nix0 reactions
- Sep 30, 2026agent-skills.github.microsoft.ai-agents-for-beginners: init at 0-unstable-2026-07-13 — sudosubin/agents.nix0 reactions
- Sep 6, 2026Batch 78: Claude usage-limit tips, n8n grounding technique, coding-agent CLIs, OSS-to-service ideas — dmavridi6478/business0 reactions
On Bluesky · 35
- Feb 14, 2025AI Agents for Beginners - 10 Lessons teaching everything you need to know to start building AI Agents github.com/microsoft/ai...… — @rodtrent.com25 likes and reposts · 1 reply
- Sep 7, 2025Pô, parece legal a grade hein... Deixar na lista aqui pra estudar depois da certificação da AWS. — @rdenadai.dev7 likes and reposts
- Feb 22, 2025AI Agents for Beginners - 10 Lessons to Get Started Building AI Agents. https://github.com/microsoft/ai-agents-for-beginners #ai #aiagents… — @alvinashcraft.com7 likes and reposts
- Nov 20, 2026🚨 Want to learn AI Agents from scratch? Microsoft’s free 18-lesson course covers frameworks, tools, RAG, multi-agents, production & more… — @ottorinobruni.bsky.social4 likes and reposts
- Apr 4, 202510 Lessons teaching everything you need to know to start building AI Agents github.com/microsoft/ai... — @asiermarques.com3 likes and reposts
30 more on Bluesky
- Mar 23, 2025📦 microsoft / ai-agents-for-beginners ⭐ 5,023 (+55) 🗒 Jupyter Notebook 10 Lessons to Get Started Building AI Agents — @github-trending.bsky.social3 likes and reposts
- Oct 20, 2026Stage 3: Agent fundamentals AI Agents for Beginners, Microsoft (18 lessons, 77k+ stars) github.com/microsoft/a... Hugging Face AI Agents… — @astrodevil1.bsky.social2 likes and reposts · 1 reply
- May 18, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / ai-agents-for-beginners ⭐ 62,102 (+180) 🗒 Jupyter Notebook 12 Lessons to Get Started… — @github-trending.bsky.social2 likes and reposts
- Dec 17, 2025Microsoft AI agents for beginners resource 👀 #fyp #typescript #agent #coding #llm #viral #viralvideo github.com/microsoft/ai... — @krystalmess.bsky.social2 likes and reposts
- Nov 12, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / ai-agents-for-beginners ⭐ 44,431 (+193) 🗒 Jupyter Notebook 12 Lessons to Get Started… — @github-trending.bsky.social2 likes and reposts
- Sep 7, 2025AI Agents for Beginners 11 Lessons to Get Started Building AI Agents. https://github.com/microsoft/ai-agents-for-beginners — @pythonhub.dev2 likes and reposts
- Jun 16, 2025🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / ai-agents-for-beginners ⭐ 27,064 (+437) 🗒 Jupyter Notebook 11 Lessons to Get Started… — @github-trending.bsky.social2 likes and reposts
- Apr 26, 2025🚀 Dive into Microsoft’s “AI Agents for Beginners” a 10-lesson course designed to help you build AI agents using tools like Azure AI Agent… — @sean.techsnazzy.com2 likes and reposts
- Apr 21, 2025DesktopCommander MCP is trending on GitHub! Check it out alongside other amazing projects from: @microsoft github.com/microsoft/ai..., @n8n… — @desktopcommander.bsky.social2 likes and reposts
- Feb 14, 2025Microsoft’s #AI Agents for Beginners is a great hands-on resource for learning AI agents from scratch. Perfect for beginners and developers… — @mertyeter.bsky.social2 likes and reposts
- Jul 17, 2026微软开源了一套免费课程《AI Agents for Beginners》,GitHub 已封战 61k+ 星。 课程内容:什么是 AI Agent、怎么用 Tool/MCP、多代理人系统、Context 管理、让 AI 操作浏览器、安全部署——一路到完整实战。… — @anotherbug.com1 likes and repost
- Jun 8, 2026https://github.com/microsoft/ai-agents-for-beginners — @tom-doerr.bsky.social1 likes and repost
- May 3, 2026https://github.com/microsoft/ai-agents-for-beginners — @tom-doerr.bsky.social1 likes and repost
- Apr 21, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / ai-agents-for-beginners ⭐ 57,227 (+131) 🗒 Jupyter Notebook 12 Lessons to Get Started… — @github-trending.bsky.social1 likes and repost
- Feb 14, 2026https://github.com/microsoft/ai-agents-for-beginners — @tom-doerr.bsky.social1 likes and repost
- Jan 10, 2026https://github.com/microsoft/ai-agents-for-beginners — @tom-doerr.bsky.social1 likes and repost
- Dec 5, 20254) ai-agents-for-beginners ↳ 11 Lessons teaching everything you need to know to start building AI Agents. GitHub: github.com/microsoft/ai... — @analyticalrohit.bsky.social1 likes and repost · 1 reply
- Sep 8, 2025AI Agent for Beginners: github.com/microsoft/ai... ---- 📌 Join 3,000+ ML enthusiasts and professionals from 100 countries. ✅ Learn AI for… — @analyticalrohit.bsky.social1 likes and repost · 1 reply
- Jul 23, 20254) ai-agents-for-beginners ↳ 11 Lessons teaching everything you need to know to start building AI Agents. GitHub: github.com/microsoft/ai... — @analyticalrohit.bsky.social1 likes and repost · 1 reply
- Jun 12, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / ai-agents-for-beginners ⭐ 25,485 (+175) 🗒 Jupyter Notebook 11 Lessons to Get Started… — @github-trending.bsky.social1 likes and repost
- May 29, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / ai-agents-for-beginners ⭐ 22,020 (+180) 🗒 Jupyter Notebook 11 Lessons to Get Started… — @github-trending.bsky.social1 likes and repost
- Apr 14, 2025🎉 Celebrating! 🎉 (500+ new stars) 📦 microsoft / ai-agents-for-beginners ⭐ 14,149 (+688) 🗒 Jupyter Notebook 10 Lessons to Get Started… — @github-trending.bsky.social1 likes and repost · 1 reply
- Apr 10, 2025🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / ai-agents-for-beginners ⭐ 11,709 (+403) 🗒 Jupyter Notebook 10 Lessons to Get Started… — @github-trending.bsky.social1 likes and repost
- Mar 23, 2025Fundamentals of building AI Agents, a place to start. github.com/microsoft/ai... — @cloudnativeboy.bsky.social1 likes and repost
- Feb 22, 2025🤖 Include anche esempi di implementazione di workflow usando #Autogen. 🚀 È un contributo davvero interessante. Insieme al corso… — @alessiopomaro.it1 likes and repost · 1 reply
- Jul 1, 20261. Hugging Face — AI Agents Course huggingface.co/learn/agent... 2. Microsoft — AI Agents for Beginners github.com/microsoft/a... 3.… — @aipromptgirl.bsky.social0 likes and reposts · 1 reply
- Jan 3, 2026AI Agents for Beginners (Microsoft) A free, structured 11-lesson course to get started with AI agents the right way.… — @jackfusion.bsky.social0 likes and reposts · 1 reply
- Jul 20, 20252️⃣ AI Agents for Beginners Free 11-part intro course, build your first AI agents step-by-step. 🔗 github.com/microsoft/a... — @arindam-1729.bsky.social0 likes and reposts · 1 reply
- Jun 13, 2025GitHub repo → github.com/microsoft/a... — @arindam-1729.bsky.social0 likes and reposts · 1 reply
- Mar 24, 2025Microsoft's "AI Agents for Beginners," is designed to teach you everything you need to know to start building AI Agents. The course… — @kuanhoong.bsky.social0 likes and reposts · 1 reply
On Hacker News · 3
- Jul 4, 2025Lessons to Get Started Building AI Agents10 points
- Apr 14, 2025AI Agents for Beginners2 points
- Feb 14, 2025AI Agents for Beginners – A 10 Lesson Course2 points
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- Azure-Samples/azure-openai-to-responses★ 615% same
Wrote their own version · 1
- microsoft/generative-ai-for-beginners★ 121ksame name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository338 other files it gives its agents.
- AGENTS.mdAGENTS.md
- translations/ar/AGENTS.mdAGENTS.md
- translations/bg/AGENTS.mdAGENTS.md
- translations/bn/AGENTS.mdAGENTS.md
- translations/cs/AGENTS.mdAGENTS.md
- translations/da/AGENTS.mdAGENTS.md
- translations/de/AGENTS.mdAGENTS.md
- translations/el/AGENTS.mdAGENTS.md
- translations/en/AGENTS.mdAGENTS.md
- translations/es/AGENTS.mdAGENTS.md
- translations/et/AGENTS.mdAGENTS.md
- translations/fa/AGENTS.mdAGENTS.md
- translations/fi/AGENTS.mdAGENTS.md
- translations/fr/AGENTS.mdAGENTS.md
- translations/he/AGENTS.mdAGENTS.md
- translations/hi/AGENTS.mdAGENTS.md
- translations/hr/AGENTS.mdAGENTS.md
- translations/hu/AGENTS.mdAGENTS.md
- translations/id/AGENTS.mdAGENTS.md
- translations/it/AGENTS.mdAGENTS.md
- translations/ja/AGENTS.mdAGENTS.md
- translations/km/AGENTS.mdAGENTS.md
- translations/kn/AGENTS.mdAGENTS.md
- translations/ko/AGENTS.mdAGENTS.md
- translations/lt/AGENTS.mdAGENTS.md
- translations/ml/AGENTS.mdAGENTS.md
- translations/mr/AGENTS.mdAGENTS.md
- translations/ms/AGENTS.mdAGENTS.md
- translations/my/AGENTS.mdAGENTS.md
- translations/ne/AGENTS.mdAGENTS.md
- translations/nl/AGENTS.mdAGENTS.md
- translations/no/AGENTS.mdAGENTS.md
- translations/pa/AGENTS.mdAGENTS.md
- translations/pcm/AGENTS.mdAGENTS.md
- translations/pl/AGENTS.mdAGENTS.md
- translations/pt-BR/AGENTS.mdAGENTS.md
- translations/pt-PT/AGENTS.mdAGENTS.md
- translations/ro/AGENTS.mdAGENTS.md
- translations/ru/AGENTS.mdAGENTS.md
- translations/sk/AGENTS.mdAGENTS.md
- translations/sl/AGENTS.mdAGENTS.md
- translations/sr/AGENTS.mdAGENTS.md
- translations/sv/AGENTS.mdAGENTS.md
- translations/sw/AGENTS.mdAGENTS.md
- translations/ta/AGENTS.mdAGENTS.md
- translations/te/AGENTS.mdAGENTS.md
- translations/th/AGENTS.mdAGENTS.md
- translations/tl/AGENTS.mdAGENTS.md
- translations/tr/AGENTS.mdAGENTS.md
- translations/uk/AGENTS.mdAGENTS.md
- translations/ur/AGENTS.mdAGENTS.md
- translations/vi/AGENTS.mdAGENTS.md
- translations/zh-CN/AGENTS.mdAGENTS.md
- translations/zh-HK/AGENTS.mdAGENTS.md
- translations/zh-MO/AGENTS.mdAGENTS.md
- translations/zh-TW/AGENTS.mdAGENTS.md
- 15-browser-use/llms.txtllms.txt
- azure-openai-to-responsesSkill
- deploying-scalable-agentsSkill
- jupyter-notebookSkill
- The first 60 shown.
The file
Files
הגירת אפליקציות פייתון מ-Azure OpenAI Chat Completions ל-Responses API
הנחיה מחייבת — עקוב במדויק
מיומנות זו מיגרת בסיסי קוד בפייתון המשתמשים ב-Azure OpenAI Chat Completions ל-API המאוחד Responses. עקוב אחרי ההוראות במדויק. אל תתעסק במיפויי פרמטרים או תמציא צורות API חדשות.
טריגרים
הפעל מיומנות זו כאשר המשתמש רוצה:
- להגר אפליקציית פייתון מ-Azure OpenAI Chat Completions ל-Responses API
- לשדרג שימוש ב-Python OpenAI SDK לצורת API העדכנית ביותר נגד Azure OpenAI
- להכין קוד פייתון למודלים GPT-5 או חדשים יותר שדורשים Responses על Azure
- לעבור מ-
AzureOpenAI/AsyncAzureOpenAIללקוח הסטנדרטיOpenAI/AsyncOpenAIעם נקודת קצה v1 - לתקן אזהרות התיישנות שקשורות לבנאי
AzureOpenAIאוapi_version
⚠️ תאימות מודלים — בדוק קודם
לפני ההגירה, אמת שהפריסה שלך של Azure OpenAI תומכת ב-Responses API.
1. בדיקת עשן של הפריסה שלך (הכי מהיר)
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["AZURE_OPENAI_API_KEY"],
base_url=f"{os.environ['AZURE_OPENAI_ENDPOINT'].rstrip('/')}/openai/v1/",
)
try:
resp = client.responses.create(
model=os.environ["AZURE_OPENAI_DEPLOYMENT"],
input="ping",
max_output_tokens=50,
store=False,
)
print(f"✅ Deployment supports Responses API: {resp.output_text}")
except Exception as e:
print(f"❌ Deployment does NOT support Responses API: {e}")הערה: ל-
max_output_tokensיש מינימום של 16 ב-Azure OpenAI. ערכים מתחת ל-16 מחזירים שגיאת 400. השתמש ב-50+ לבדיקות עשן.
אם זה מחזיר 404, דגם הפריסה אינו תומך ב-Responses עדיין — בדוק את ההפניה למטה או פרוס מחדש עם דגם נתמך.
2. בדוק דגמים זמינים באזור שלך (מומלץ)
הפעל את כלי התאימות המובנה למודלים כדי לראות מה זמין עם תמיכה ב-Responses API באזור הספציפי שלך:
python migrate.py models --subscription YOUR_SUB_ID --location YOUR_REGIONזה שואל את Azure ARM בשידור חי ומציג מטריצת תאימות — אילו דגמים תומכים ב-Responses, ביציאת נתונים מובנית, כלים וכו'. השתמש ב---filter gpt-5.1,gpt-5.2 לכווץ תוצאות או ב---json לסקריפטים.
3. הפניה מלאה לתמיכה בדגמים
- שאל חי:
python migrate.py models(ראה למעלה — אזור ספציפי, תמיד מעודכן) - עיין בזמינות: טבלת סיכום דגמים וזמינות אזור
- התחלה מהירה והנחיה: https://aka.ms/openai/start
⚠️ מגבלות דגמים ישנים
אזהרה: דגמים ישנים יותר (לפני
gpt-4.1) ייתכן ואינם תומכים בכל תכונות ה-Responses API במלואן.מגבלות ידועות עם דגמים ישנים:
- פרמטר
reasoning: אינו נתמך בהרבה דגמים שאינם למטרות הסקה. העבר אתreasoningרק אם היה קיים בקוד המקורי.- פרמטר
seed: אינו נתמך בכלל ב-Responses API — הסר מכל הבקשות.- פלט מובנה דרך
text.format: דגמים ישנים עשויים לא לאכוף במדויק סכמות JSON עםstrict: true.- אורקסטרציה של כלים: GPT-5 ומעלה מארגנים קריאות כלים כחלק מההסקה הפנימית. דגמים ישנים ב-Responses עדיין עובדים אך חסרה אינטגרציה עמוקה זו.
- מגבלות טמפרטורה: בהגירה ל-
gpt-5יש לדחות את הטמפרטורה או לקבועה ל-1. לדגמים ישנים אין מגבלה זו.
דגמי הסקה מסדרת O (o1, o3-mini, o3, o4-mini)
לדגמי סדרת O יש מגבלות פרמטרים ייחודיות. בהגירת אפליקציות המיועדות לדגמי סדרת O:
temperature: חייב להיות1(או להישמט). דגמי סדרת O אינם מקבלים ערכים אחרים.max_completion_tokens→max_output_tokens: אפליקציות המשתמשות ב-max_completion_tokensהייחודי ל-Azure חייבות לעבור ל-max_output_tokens. יש להגדיר ערכים גבוהים (4096+) כי אסימוני הסקה נספרים נגד המגבלה.reasoning_effort: אם האפליקציה משתמשת ב-reasoning_effort(נמוך/בינוני/גבוה), יש לשמור עליו — ה-Responses API תומך בפרמטר זה לדגמי סדרת O.- התנהגות סטרימינג: דגמי סדרת O עשויים לאגור פלט עד לסיום ההסקה לפני שיוצרים אירועי דלתא טקסט. סטרימינג עדיין עובד, אך
response.output_text.deltaראשוני עשוי להגיע מעכב יותר מאשר בדגמי GPT. top_p: אינו נתמך בסדרת O — הסר אם קיים.- שימוש בכלים: דגמי סדרת O תומכים בכלים דרך Responses API כפי שמודלים GPT תומכים, אך איכות אורקסטרציית קריאות כלים משתנה לפי דגם.
פעולה — ייעוץ מודל יזום: במהלך שלב הסריקה, בדוק לאיזה דגם האפליקציה מיועדת (שמות פריסה, משתני סביבת עבודה, קונפיגורציה). אם הדגם מקדים ל-gpt-4.1 (לא gpt-4.1+), אמור למשתמש מראש:
- ההגירה תעבוד לטקסט בסיסי, צ'אט, סטרימינג וכלים בדגם הקיים שלהם.
- דגמים חדשים (
gpt-5.1,gpt-5.2) מציעים אורקסטרציית כלים טובה יותר, אכיפת פלט מובנה, הסקה וזמינות בין-אזורית. - עליהם לשקול שדרוג הפריסה כשהם מוכנים — זה לא חוסם את ההגירה.
אל תחסום או תסרב להגר לפי גרסת המודל. הייעוץ הוא לצורך מידע בלבד.
דגמי GitHub אינם תומכים ב-Responses API
דגמי GitHub (
models.github.ai,models.inference.ai.azure.com) אינם תומכים ב-Responses API.
אם בסיס הקוד כולל נתיב קוד לדגמי GitHub (חפש base_url המכוון ל-models.github.ai או models.inference.ai.azure.com), הסר אותו לגמרי במהלך ההגירה. ה-Responses API דורש Azure OpenAI, OpenAI או נקודת קצה מקומית תואמת (למשל Ollama עם תמיכה ב-Responses).
פעולה במהלך הסריקה:
- סמן כל נתיב קוד לדגמי GitHub להסרה.
הגירת מסגרת עבודה
אפליקציות רבות משתמשות במסגרת עבודה ברמת גבוה מעל OpenAI. בהגירת אלו, ה-API של המסגרת משתנה — לא רק הקריאות התחתונות ל-OpenAI.
מסגרת סוכנים של מיקרוסופט (MAF)
בדוק תחילה את גרסת MAF שלך — ההגירה תלויה אם אתה על MAF 1.0.0+ או ביטא/RC לפני 1.0.0.
MAF 1.0.0+ (agent-framework-openai >= 1.0.0)
OpenAIChatClient כבר משתמש ב-Responses API — אין צורך בהגירה. אם בסיס הקוד משתמש ב-OpenAIChatCompletionClient הישן (שמשתמש ב-chat.completions.create), החלף ל-OpenAIChatClient.
| לפני | אחרי |
from agent_framework.openai import OpenAIChatCompletionClient | from agent_framework.openai import OpenAIChatClient |
OpenAIChatCompletionClient(...) | OpenAIChatClient(...) |
לבדוק גרסה: python -c "import agent_framework_openai; print(agent_framework_openai.__version__)"
MAF לפני 1.0.0 (הוצאות ביטא/RC)
ב-MAF לפני 1.0.0, OpenAIChatClient השתמש ב-Chat Completions. שדרג ל-agent-framework-openai>=1.0.0 שבו OpenAIChatClient כבר משתמש ב-Responses API כברירת מחדל.
אין שינוי נוסף דרוש — ה-API של Agent והכלים נשארים זהים.
LangChain (langchain-openai)
הוסף use_responses_api=True ל-ChatOpenAI(). גם עדכן גישה לתגובה מ-.content ל-.text.
| לפני | אחרי |
ChatOpenAI(model=..., base_url=..., api_key=...) | ChatOpenAI(model=..., base_url=..., api_key=..., use_responses_api=True) |
result['messages'][-1].content | result['messages'][-1].text |
לדוגמאות קוד מלאות לפני/אחרי, ראה cheat-sheet.md.
הנחיות הגירת פרונטאנד
Responses API הוא נושא צד-שרת. הגר את הבקאנד בפייתון שלך; חוזה HTTP בצד הפרונטאנד צריך להישאר ללא שינוי אלא אם הבקאנד שלך הוא מעקף דק — במקרה זה שקול לאמץ את צורת הבקשה של Responses כדי לבטל שכבת תרגום. אם הפרונטאנד קורא ל-OpenAI ישירות עם מפתח בצד לקוח, העבר את הקריאות לבקאנד קודם.
הפסקת שימוש ב-@microsoft/ai-chat-protocol
חבילת ה-npm @microsoft/ai-chat-protocol הוסרה ויש להחליפה ב-ndjson-readablestream. אם נתקל בה בפרונטאנד:
- החלף את תגית סקריפט CDN:
<!-- Before --> <script src="https://cdn.jsdelivr.net/npm/@microsoft/ai-chat-protocol@.../dist/iife/index.js"></script> <!-- After --> <script src="https://cdn.jsdelivr.net/npm/ndjson-readablestream@1.0.7/dist/ndjson-readablestream.umd.js"></script> - הסר יצירת מופע
AIChatProtocolClient(new ChatProtocol.AIChatProtocolClient("/chat")). - החלף את
client.getStreamedCompletion(messages)בקריאה ישירה ל-fetch()לנקודת הקצה סטרימינג בבקאנד. - החלף
for await (const response of result)ב-for await (const chunk of readNDJSONStream(response.body)). - עדכן גישה למאפיינים מ-
response.delta.content/response.errorל-chunk.delta.content/chunk.error.
מטרות
- למנות את כל אתרי הקריאה בפייתון המשתמשים ב-Chat Completions או ב-Completions ישן נגד Azure OpenAI.
- להציע תוכנית והסדר הגירה עבור בסיס הקוד בפייתון.
- לבצע שינויים מינימליים ובטוחים לעבור ל-Responses API.
- לעדכן קוראים לצריכת סכמת הפלט של Responses; ללא עטיפות תאימות אחורית.
- להריץ בדיקות/לינטים; לתקן תקלות משניות שנגרמו מההגירה.
- להכין קבוצות שינויים קטנות וכנות לסקירה ולספק סיכום סופי עם הבדלים (לא לבצע commit).
כללי שמירת גבולות
- לשנות רק קבצים בתוך סביבת ה-git. לעולם אל תכתוב מחוץ לה.
- אל תשמור התאמות תאימות לאחור; הגר את הקוד לצורת ה-API החדשה.
- אל תשאיר הערות מעבר/מעבר או קבצי גיבוי.
- שמור על סמנטיקת סטרימינג אם הייתה בשימוש קודם; אחרת השתמש ללא סטרימינג.
- בקש אישור לפני הרצת פקודות או קריאות רשת אם במצב אישורים.
- אל תריץ
git add/git commit/git push; הפק רק שינויים בעץ העבודה.
שלב 0: הגירת לקוח Azure OpenAI (דרישה מוקדמת)
אם בסיס הקוד משתמש בבנאי AzureOpenAI או AsyncAzureOpenAI, הגר תחילה לבנאי הסטנדרטי OpenAI / AsyncOpenAI. בנאים ייחודיים ל-Azure אינם נתמכים ב-openai>=1.108.1.
למה נקודת קצה v1?
נקודת הקצה החדשה /openai/v1 משתמשת בלקוח הסטנדרטי OpenAI() במקום AzureOpenAI(), אינה דורשת פרמטר api_version, ופועלת זהה ב-OpenAI וב-Azure OpenAI. קוד הלקוח זהה והכין לעתיד — ללא צורך בניהול גרסאות.
שינויים עיקריים
| לפני | אחרי |
AzureOpenAI | OpenAI |
AsyncAzureOpenAI | AsyncOpenAI |
azure_endpoint | base_url |
azure_ad_token_provider | api_key |
api_version=... | הסרה מלאה |
רשימת ניקוי
- הסר את ארגומנט
api_versionמבניית הלקוח. - הסר משתני סביבה
AZURE_OPENAI_VERSION/AZURE_OPENAI_API_VERSIONמקובץ.env, הגדרות אפליקציה וקבצי Bicep/תשתית. - שנה את
AZURE_OPENAI_CLIENT_IDל־AZURE_CLIENT_IDבקובץ.env, הגדרות אפליקציה, Bicep/תשתית ודגמי בדיקה (הסכם סטנדרטי של Azure Identity SDK). - ודא
openai>=1.108.1בקובץrequirements.txtאוpyproject.toml.
הגירת משתני סביבה
| משתנה סביבה ישן | פעולה | הערות |
AZURE_OPENAI_VERSION | הסר | אין צורך ב-api_version עם נקודת הקצה v1 |
AZURE_OPENAI_API_VERSION | הסר | כמו למעלה |
AZURE_OPENAI_CLIENT_ID | שנה שם → AZURE_CLIENT_ID | הסכם סטנדרטי של Azure Identity SDK ל-ManagedIdentityCredential(client_id=...) |
AZURE_OPENAI_ENDPOINT | שמור | עדיין דרוש לבניית base_url |
AZURE_OPENAI_CHAT_DEPLOYMENT | שמור | משמש כפרמטר model ב-responses.create |
AZURE_OPENAI_API_KEY | שמור | משמש כ-api_key לאימות עם מפתח |
לדוגמאות קוד של פעולת הלקוח (סינכרוני, אסינכרוני, EntraID, מפתח API, מולטי טננט), ראה cheat-sheet.md.
שלב 1: זיהוי אתרי קריאה ישנים
הפעל את הסקריפט detect_legacy.py כדי למצוא את כל אתרי הקריאה שצריך להגר:
python skills/azure-openai-to-responses/scripts/detect_legacy.py .או בצע חיפושים אלו ידנית — כל התאמה היא יעד להגרה:
# קריאות API ישנות (חייבים לשכתב)
rg "chat\.completions\.create"
rg "ChatCompletion\.create"
rg "Completion\.create"
# בוני לקוח Azure מיושנים (חייבים להחליף)
rg "AzureOpenAI\("
rg "AsyncAzureOpenAI\("
# דפוסי גישה לצורת התגובה (חייבים לעדכן)
rg "choices\[0\]\.message\.content"
rg "choices\[0\]\.delta\.content"
rg "choices\[0\]\.message\.function_call"
rg "choices\[0\]\.message\.tool_calls"
# הגדרות כלים בפורמט מקונן ישן (חייב לפשט)
rg '"function":\s*{\s*"name"'
rg "pydantic_function_tool"
# תוצאות כלים בפורמט ישן (חייב להמיר ל-function_call_output)
rg '"role":\s*"tool"'
rg '"tool_call_id"'
# פרמטרים מיושנים (חייבים להסיר או לשנות שם)
rg "response_format"
rg "max_tokens\b" # שנה שם ל- max_output_tokens
rg "['\"]seed['\"]" # remove entirely
# משתני סביבה מיושנים (לנקות)
rg "AZURE_OPENAI_API_VERSION|AZURE_OPENAI_VERSION"
rg "AZURE_OPENAI_CLIENT_ID" # צריך להיות AZURE_CLIENT_ID
# נקודות קצה של מודלים ב-GitHub (חייב להסיר — API לתגובות לא נתמך)
rg "models\.github\.ai|models\.inference\.ai\.azure"
# דפוסי מורשת ברמת התשתית (חייבים לעדכן)
rg "OpenAIChatCompletionClient" # MAF 1.0.0+: להחליף עם OpenAIChatClient
rg "ChatOpenAI\(" | grep -v "use_responses_api" # LangChain: צריך use_responses_api=True
# תשתית לבדיקות (חייבת לעדכן)
rg "ChatCompletionChunk|AsyncCompletions\.create" tests/
rg "_azure_ad_token_provider" tests/
rg "prompt_filter_results|content_filter_results" tests/
rg "choices\[0\]" tests/
# גישת גוף שגיאת סינון תוכן (חייב לעדכן — המבנה השתנה)
rg 'innererror.*content_filter_result|error\.body\["innererror"\]'
rg "content_filter_result\[" # צורת יחיד ישנה — עכשיו content_filter_results (רבים) בתוך מערך content_filters
# קריאות HTTP גולמיות לנקודת הסיום Chat Completions (חייב לעדכן URL)
rg "/openai/deployments/.*/chat/completions"
rg "api-version="היוריסטיקות (גילוי וכתיבה מחדש)
- לקוח Chat Completions:
client.chat.completions.create→client.responses.create(...). - קונסטרוקטורים של לקוח Azure:
AzureOpenAI(...)→OpenAI(base_url=..., api_key=...). - כלים: המרת הגדרות כלי-קריאה לפונקציה מפורמט מקונן (
{"type": "function", "function": {"name": ...}}) לפורמט Responses שטוח ({"type": "function", "name": ...}); השתמש ב-tool_choice; החזר תוצאות כלי כפריטים מסוג{"type": "function_call_output", "call_id": ..., "output": ...}(ולא{"role": "tool", ...}). - סיורים של כלים: כאשר המודל מחזיר קריאות פונקציה, הוסף פריטי
response.outputלשיחה (ולא מילון ידני{"role": "assistant", "tool_calls": [...]}), ואז הוסף פריטיfunction_call_outputעבור כל תוצאה. - דוגמאות כלים עם מספר דוגמאות: אם השיחה כוללת דוגמאות קריאה לכלי מקודדות בקוד, המר אותם לפריטים
{"type": "function_call", "id": "fc_...", "call_id": "fc_...", ...}+{"type": "function_call_output", ...}. מזהים חייבים להתחיל ב-fc_. pydantic_function_tool(): העזר הזה עדיין מייצר את הפורמט המקונן הישן ואינו תואם ל-responses.create(). החלף בהגדרות כלי ידניות או עטיפה שמשטיחה.- רב-סיבובים: שמור היסטוריית שיחה באפליקציה; העבר סיבובים קודמים כפריטי
input. - עיצוב: החלף את
response_formatשל Chat בשכבת על ב-Responses עםtext.format. צורה קאנונית:text={"format": {"type": "json_schema", "name": "Output", "strict": True, "schema": {...}}}. - פריטי תוכן: החלף
content[].type: "text"של Chat ל-content[].type: "input_text"ב-Responses עבור תורות של משתמש/מערכת. - פריטי תוכן תמונה: החלף
content[].type: "image_url"של Chat ל-content[].type: "input_image"ב-Responses. השדהimage_urlמשתנה מאובייקט מקונן{"url": "..."}למחרוזת שטוחה. ראה את דף המרמה לדוגמאות לפני/אחרי. - מאמץ טיעון: העבר רק את
reasoningאם כבר קיים בקוד המקורי. - טיפול בשגיאות סינון תוכן: מבנה גוף השגיאה השתנה. Chat Completions השתמש ב-
error.body["innererror"]["content_filter_result"](יחיד); Responses API משתמש ב-error.body["content_filters"][0]["content_filter_results"](רבים בתוך מערך). קוד שניגש ל-innererrorיגרום ל-KeyError. מחדש לנתיב חדש. - קריאות HTTP גולמיות: אם האפליקציה עושה קריאה ישירה ל-Azure OpenAI REST API (דרך
requests,httpx, וכו') באמצעות/openai/deployments/{name}/chat/completions?api-version=..., המיר ל-/openai/v1/responses. גוף הבקשה משתנה:messages→input, הוסףmax_output_tokensו-store: false, הסר פרמטר שאילתהapi-version. גוף התגובה משתנה:choices[0].message.content→output[0].content[0].text(שים לב:output_textהוא מאפיין נוחות SDK שאינו קיים ב-JSON גולמי).
שלב 2: הפעלת ההגירה
הערות על ההגירה (Chat Completions → Responses)
- מדוע להגיר: Responses היא ה-API המאוחדת לטקסט, כלים וזרימה; Chat Completions הוא מורשת. עם GPT-5, Responses נדרש עבור ביצועים מיטביים.
- HTTP: נקודת הקצה של Azure משתנה מ-
/openai/deployments/{name}/chat/completionsל-/openai/v1/responses. - שדות:
messages→input,max_tokens→max_output_tokens.temperatureנשאר ללא שינוי. - עיצוב:
response_format→text.formatכאובייקט נכון. - פריטי תוכן: החלף
content[].type: "text"של Chat ל-content[].type: "input_text"ב-Responses עבור תורות מערכת/משתמש. - פריטי תוכן תמונה: החלף
content[].type: "image_url"של Chat ל-content[].type: "input_image"ב-Responses. שטח את השדהimage_urlמ-{"image_url": {"url": "..."}}ל-{"image_url": "..."}(מחרוזת פשוטה — כתובת URL ב-HTTPS או URI של נתונים מסוגdata:image/...;base64,...).
מפתחות פרמטרים להתייחסות
| Chat Completions | Responses API |
prompt | input |
messages | input (מערך פריטים) |
max_tokens | max_output_tokens |
response_format | text.format (אובייקט) |
temperature | temperature (לא משתנה) |
stop | stop (לא משתנה) |
frequency_penalty | frequency_penalty (לא משתנה) |
presence_penalty | presence_penalty (לא משתנה) |
tools / קריאות לפונקציה | tools (לא משתנה) |
seed | הסר (לא נתמך) |
store | store (נקבע ל-false) |
content[].type: "text" | content[].type: "input_text" |
content[].type: "image_url" | content[].type: "input_image" |
"image_url": {"url": "..."} | "image_url": "..." (מחרוזת שטוחה) |
לדוגמאות קוד מלאות לפני/אחרי, ראה cheat-sheet.md.
להגירת תשתית בדיקות (מוקים, תמונות מצב, ואישורים), ראה test-migration.md.
לפתרון תקלות וטעויות, ראה troubleshooting.md.
שמירת מידע ומצב
- קבע
store: falseבכל בקשות Responses. - אל תסתמך על מזהי הודעות קודמות או הקשר שנשמר בשרת; שמור מצב מנוהל-לקוח וצמצם מטא-דאטה.
קריטריוני קבלה
שערים ברמת הקוד (כולם חייבים לעבור)
- אין התאמות עבור
rg "chat\.completions\.create|ChatCompletion\.create|Completion\.create"בקבצים שהוגרו. - אין התאמות עבור
rg "AzureOpenAI\(|AsyncAzureOpenAI\("— כל הקונסטרוקטורים משתמשים ב-OpenAI/AsyncOpenAIעם נקודת הקצה v1. - אין התאמות עבור
rg "models\.github\.ai|models\.inference\.ai\.azure"— נתיבי קוד מודלים של GitHub הוסרו. - אין התאמות עבור
rg "OpenAIChatCompletionClient"— קוד MAF 1.0.0+ משתמש ב-OpenAIChatClient(שמשתמש ב-Responses API). בגרסאות לפני 1.0.0, שדרג ל-agent-framework-openai>=1.0.0. - כל קריאות
ChatOpenAI(...)כוללותuse_responses_api=True. - אין התאמות עבור
rg "choices\[0\]"— כל גישות לתגובה משתמשות ב-resp.output_textאו סכמת הפלט של Responses. - אין
response_formatברמת על; כל הפלט המובנה משתמש ב-text={"format": {...}}. openai>=1.108.1ו-azure-identityבקבציrequirements.txtאוpyproject.toml; תלותות הותקנו מחדש.store=Falseמוגדר בכל קריאה ל-responses.create.- אין
api_versionבבניית הלקוח;AZURE_OPENAI_API_VERSIONהוסר מקבצי הסביבה והתשתית.
שערים בתשתית בדיקות (כולם חייבים לעבור)
- אין התאמות עבור
rg "ChatCompletionChunk|AsyncCompletions\.create|chat\.completions" tests/. - אין התאמות עבור
rg "_azure_ad_token_provider" tests/— אישורים עודכנו לבדוקisinstance(client, AsyncOpenAI)אוbase_url. - אין התאמות עבור
rg "prompt_filter_results|content_filter_results" tests/— מוקים ספציפיים ל-Azure להסינון הוסרו. - מוקים משתמשים ב-
kwargs.get("input")ולא ב-kwargs.get("messages"). - קבצי snapshot / golden מעודכנים לצורת הזרימה של Responses (ללא
choices[0],function_call,logprobsוכו'). pytestעובר ללא כשלונות לאחר כל עדכוני הבדיקות.
שערים התנהגותיים (בדיקה ידנית או דרך מסגרת בדיקות)
- השלמה בסיסית:
responses.createשאינה זורמת מחזירהoutput_textשאינו ריק. - עקיבות בזרימה: אם הקוד המקורי השתמש בזרימה, הקוד שהוגר זורם ומפיק אירועים
response.output_text.deltaעם דלתא לא ריקה. - פלט מובנה: אם משתמשים ב-
text.formatעםjson_schema,json.loads(resp.output_text)מצליח ותואם לסכמה. - לולאת קריאה לכלים: אם משתמשים בכלים, המודל מוציא קריאות כלים, האפליקציה מבצעת אותן, והבקשה הבאה מחזירה פלט סופי
output_text(ללא לולאה אינסופית). - עקיבות אסינכרונית: אם השתמשו ב-
AsyncAzureOpenAI, מקביל ב-AsyncOpenAIעובד עםawait. - שיעור שגיאות: אין שגיאות חדשות מסוג 400/401/404 בהשוואה לקו הבסיס לפני ההגירה.
תוצרי עבודה
- התקציר כולל קבצים שנערכו, מונים לפני/אחרי של אתרי קריאה מורשת, ושלבים הבאים.
- השינויים הם רק עריכות בעץ העבודה (ללא commits).
דרישות גרסת SDK
| חבילה | גרסה מינימלית |
openai | >=1.108.1 |
azure-identity | העדכנית ביותר (לאימות EntraID) |
מקורות
- גיליון רמאות — כל קטעי הקוד
- הגירת בדיקות — מוקים, תמונות מצב, אישורים
- פתרון תקלות — שגיאות, טבלת סיכונים, מרעין בישין
- detect_legacy.py — סורק אוטומטי
- Azure OpenAI Starter Kit
- מסמכי Azure OpenAI Responses API
- מחזור חיים של גרסת Azure OpenAI API
- OpenAI Responses API reference
<!-- CO-OP TRANSLATOR DISCLAIMER START -->כתב ויתור: מסמך זה תורגם באמצעות שירות תרגום אוטומטי Co-op Translator. למרות שאנו שואפים לדיוק, יש לקחת בחשבון שתרגומים אוטומטיים עלולים להכיל שגיאות או אי-דיוקים. יש להחשיב את המסמך המקורי בשפתו הטבעית כמקור הסמכות. למידע קריטי מומלץ להשתמש בתרגום מקצועי על ידי מתרגם אדם. אנו לא אחראים לכל אי-הבנה או פירוש שגוי הנובע מהשימוש בתרגום זה.
<!-- CO-OP TRANSLATOR DISCLAIMER END -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

