azure openai to responses

Other Community

Skill notes

Triggers

Activate this skill when user wants to: Migrate a Python app from Azure OpenAI Chat Completions to Responses API Upgrade Python OpenAI SDK usage to the latest API shape against Azure OpenAI Prepare Python code for GPT-5 or newer models that require Responses on Azure Switch from AzureOpenAI/AsyncAzureOpenAI to standard OpenAI/AsyncOpenAI client with the v1 endpoint

⚠️ Model Compatibility — CHECK FIRST

Before migrating, verify your Azure OpenAI deployment supports the Responses API.

1. Smoke-test your deployment (fastest)

Note: max_output_tokens has a minimum of 16 on Azure OpenAI. Values below 16 return a 400 error. Use 50+ for smoke tests. If this returns a 404, the deployment's model doesn't support Responses yet — check the reference below or redeploy with a supported model.

Run the built-in model compatibility tool to see what's available with Responses API support in your specific region: This queries Azure ARM live and shows a compatibility matrix — which models support Responses, structured output, tools, etc. Use --filter gpt-5.1,gpt-5.2 to narrow results or --json for scripting.

3. Full model support reference

Live query: python migrate.py models (see above — region-specific, always up to date) Browse availability: Model summary table and region availability Quickstart & guidance: https://aka.ms/openai/start

Fluxly profile Runtime and permissions are inferred by Fluxly static checks, not author declarations or runtime test results.
Domain
Other
Author-declared agents
No explicit declaration found; this is not inferred or tested compatibility
Static check
88 / 100 · heuristic scan, not runtime safety proof
Runtime evidence
Not run; no isolated runtime test evidence is currently recorded
Author / version / license
@tomevault-io · no license declared
Token usage
Heavy
Setup complexity
Manual integration
External API key
Required · OpenAI
Operating systems
macOS · Linux · Windows
Runtime requirements
Python
Detected file/system behavior
  • Read-only
  • Write / modify
  • Shell exec
  • Env read
Network behavior
External requests
Install commands
None (reference only)

Heads up: Tool permissions are not declared; actual access depends on the runtime.

01
Step 0: Azure OpenAI Client Migration (Prerequisite)

If the codebase uses `AzureOpenAI` or `AsyncAzureOpenAI` constructors, migrate to the standard `OpenAI` / `AsyncOpenAI` constructors first. The Azure-specific constructors are deprecated in `openai>=1.108.1`.

02
Step 1: Detect Legacy Call Sites

Run the detect_legacy.py script to find all call sites that need migration: Or run these searches manually — every match is a migration target:

03
Step 2: Apply Migration

Step 2: Apply Migration

Discussion

Powered by GitHub Discussions. Sign in with GitHub to comment, react, or subscribe.