< BACK_TO_SONAR
[ ACTIVE DEPRECATION DETECTED ]

OpenAI API / openai-chat-completions-functions-and-function-call-parameters

Severity
High
Ecosystem
npm
Release Tag
Latest
Deadline
Immediate
Confidence
100%

>> Is your stack affected?

Paste your package.json below to instantly check if your application relies on this deprecated OpenAI endpoint.

No Card Required
Migration_Guidance
🚨 **Primary Error:** functions and function_call are deprecated in favor of tools and tool_choice ✅ **Resolution:** Wrap each function schema in tools=[{type: 'function', function: {...}}] and replace function_call with tool_choice; handle tool_calls in the response.