Troubleshooting Guide: Solving Common Challenges in Context-Aware AI Chat for Code Generation