Commit Graph

2 Commits

Author SHA1 Message Date
96b0afc3bc Fix critical authentication and Digital Ocean integration issues
- Fixed OpenAI API key hardcoding in BrainConfig.js causing 401 errors
- Implemented proper Digital Ocean Spaces integration with AWS SDK
  - Added deployArticle() function for HTML upload
  - Fixed fetchXMLFromDigitalOcean() to retrieve from correct path
  - Direct access to root bucket instead of wp-content/XML/
- Added aws-sdk dependency for S3-compatible operations
- Created comprehensive integration test suite
- Validated complete workflow: Google Sheets → DO XML → Processing

All external systems now operational:
 Google Sheets auth and data retrieval
 Digital Ocean Spaces upload/download
 XML template processing
 LLM API authentication

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 23:06:07 +08:00
239a7161c2 Initial commit 2025-09-03 15:29:19 +08:00