10359d1a01
- Add explicit check for empty choices array in both chat.ts and vision.ts - Add optional chaining for message property access - Throw descriptive error when API returns no content - Use English comments consistent with project style - Fixes debugging issues when upstream returns empty responses Related to: chat.ts and vision.ts silent empty string return on malformed responses