TheRealAIGuy commited on
Commit
7337a40
·
1 Parent(s): a310a12

chore: auto-sync update 2026-04-12 13:12:44

Browse files
Files changed (1) hide show
  1. final_check.py +2 -2
final_check.py CHANGED
@@ -126,10 +126,10 @@ class FinalIntegrityCheck(unittest.TestCase):
126
  mock_response.choices = [MagicMock()]
127
  mock_response.choices[0].message.content = json.dumps({"reasoning": "test", "decisions": [1] * 200})
128
 
129
- with patch("inference._client.chat.completions.create", return_value=mock_response):
130
  f = io.StringIO()
131
  with redirect_stdout(f):
132
- inference.run_inference()
133
 
134
  output = f.getvalue()
135
  lines = [l for l in output.strip().split("\n") if l.strip()]
 
126
  mock_response.choices = [MagicMock()]
127
  mock_response.choices[0].message.content = json.dumps({"reasoning": "test", "decisions": [1] * 200})
128
 
129
+ with patch("openai.resources.chat.completions.Completions.create", return_value=mock_response):
130
  f = io.StringIO()
131
  with redirect_stdout(f):
132
+ inference.main()
133
 
134
  output = f.getvalue()
135
  lines = [l for l in output.strip().split("\n") if l.strip()]