You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix SSL certificate verification issue and token limit in auto_solver
This commit fixes issue #39 by addressing two critical problems:
1. SSL Certificate Verification: Configure httpx client to disable SSL
verification when running behind a proxy with self-signed certificates.
This fixes the "CERTIFICATE_VERIFY_FAILED" error that was preventing
the auto_solver from connecting to the OpenAI API.
2. Token Limit: Increase max_completion_tokens from 2000 to 8000 to
accommodate the GPT-5-mini model's reasoning tokens. The model uses
separate reasoning tokens (internal thinking) before generating the
actual output, and the previous limit was insufficient.
Tested successfully with real daily LeetCode problem #3321 and confirmed
that the auto_solver now generates complete solutions.
0 commit comments