- Make generateDeviceFingerprint resilient to os.cpus() and os.hostname() returning empty or throwing in lambda sandboxes. - Await async handleChatCompletion and handleAnthropicMessages calls in route handlers to prevent unhandled promise rejections. - Catch runtime exceptions from completions and return clean HTTP 500 JSON error responses. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>