๐PR Reviewยทadvancedยทโฑ๏ธ 45โ65mยทโญ 300 XP
M-024Real-World API Integration
Description
Nebula Corp needs a complete prompt + API integration pipeline. The system should: 1) Build a prompt with proper parameters (temperature, max_tokens, system message), 2) Make an actual API call to an LLM provider, 3) Handle errors gracefully (rate limits, invalid responses, timeouts), 4) Parse and validate the response, 5) Implement retry logic with exponential backoff. The current implementation has no error handling and fails silently when the API returns errors. Build a robust integration that handles real-world API challenges.
PR Description
This PR adds real-world API integration with error handling, rate limiting, and response parsing. Review the implementation for correctness and robustness.
6 bugs to find and fix
Related Lessons
Click Run / Check to validate your solution