Spaces:
Runtime error
Runtime error
Commit History
-
Fix image generator to read API keys from environment
official.ghost.logic- Read OPENAI_API_KEY and HUGGINGFACE_API_KEY directly from env - Support both HUGGINGFACE_API_KEY and HF_TOKEN - Change error to warning (don't fail app startup) - Add debug logging for image gen keys - Image generation now optional if no keys provided0935d82 -
Add lazy initialization for Anthropic client
official.ghost.logic- Re-initialize client from env if not set during first call - Provides better error message pointing to HF Spaces Secrets - Fixes 'Anthropic client not initialized' errored1e0bc -
Fix: Read API keys directly from environment variables
official.ghost.logic- Use os.getenv() directly instead of config object - Add debug logging to show which clients initialize - Show first 10 chars of key for verification - This ensures HF Spaces secrets are properly readb86858a -
Deploy D&D Campaign Manager v2
official.ghost.logic- Complete AI-powered D&D 5e character creator - Autonomous campaign synthesis from party composition - Session auto-generation with context from uploaded notes - MCP server with 7 D&D 5e rules tools - Campaign and session tracking - Character export to formatted sheets - Support for Claude, GPT-4, and Gemini Features: ✨ Campaign synthesis (autonomous AI) 📖 Session auto-generation 🎯 Encounter balancing (MCP tools) 🧙 Character creation with AI backstories 📝 Session notes parsing and context integration71b378e