AI / Claude Sonnet5 Interview questions
How do you troubleshoot manual extended thinking left over from Sonnet 4.6?
Locate every place in the codebase where a request sets thinking: {"type": "enabled", "budget_tokens": N}, since this specific configuration is rejected outright on Sonnet 5 with an HTTP 400 error - this is a search-and-remediate task rather than a subtle behavioral issue, since the failure mode is a hard, deterministic error rather than degraded output.
Replace each instance by removing the manual budget_tokens configuration and instead setting an appropriate effort level for that specific request's typical task difficulty, recognizing that effort and a manual token budget aren't a one-to-one mapping - a budget value that was tuned empirically for Sonnet 4.6 doesn't translate directly to a specific effort level on Sonnet 5.
Test each remediated request type against representative tasks to confirm the new effort-based configuration produces comparable or better reasoning depth to what the old manual budget achieved, since silently under-provisioning reasoning depth by picking too low an effort level would be a functional regression even though it wouldn't surface as an obvious error.
Audit for any downstream code that specifically expected a fixed thinking-token count based on the old manual budget, such as cost estimation logic or logging that assumed a predictable thinking-token ceiling, since that logic likely also needs updating now that thinking token usage varies adaptively rather than being pinned to a configured fixed value.
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
