-
Notifications
You must be signed in to change notification settings - Fork 193
Description
Description
Summary
The AI Enhance feature fails when attempting to call the OpenAI API due to a reference to a deprecated model (gpt-4-turbo-preview). This results in a 404 model_not_found error even with a valid, paid OpenAI Go plan.
Error Observed
Error code: 404
The model `gpt-4-turbo-preview` does not exist or you do not have access to it
Root Cause
The OpenAI model gpt-4-turbo-preview has been deprecated and removed by OpenAI.
Any API calls referencing this model will fail regardless of API key validity or subscription level.
This appears to be either:
- Hardcoded in the AI Enhance logic, or
- Set as a default model in configuration
- This is not related to API key permissions, billing, or quota.
Impact
- AI Enhance feature is completely non-functional
- Automated enrichment of findings fails
- Users with valid OpenAI subscriptions cannot use AI features
- Produces confusion as the error suggests an access issue rather than a deprecated model
Expected Behavior
AI Enhance should successfully process findings using a currently supported OpenAI model.
Recommended Fix
Update the OpenAI model reference to a stable, supported model such as:
- gpt-4o (recommended default)
- gpt-4.1
- gpt-4o-mini (cost-optimized)
Additionally, avoid using preview or experimental model identifiers to prevent future breakage.
Environment
- NeuroSploit v3
- AI Enhance: enabled
- OpenAI plan: Go (active)
- API key: valid and working for supported models