mirror of
https://github.com/CyberSecurityUP/NeuroSploit.git
synced 2026-04-22 02:46:02 +02:00
Fix: remove last gpt-4-turbo-preview fallback in generate() method
Missed occurrence in the OpenAI chat.completions.create() call inside generate(). Now uses gpt-4o consistently. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -610,7 +610,7 @@ class LLMClient:
|
||||
|
||||
elif self.provider == "openai":
|
||||
response = self.client.chat.completions.create(
|
||||
model=self.model_name or "gpt-4-turbo-preview",
|
||||
model=self.model_name or "gpt-4o",
|
||||
max_tokens=max_tokens,
|
||||
messages=[
|
||||
{"role": "system", "content": system or default_system},
|
||||
|
||||
Reference in New Issue
Block a user