This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This PR adds Player2 AI as a new provider option, giving users an alternative AI service specifically designed for character dialogue and conversations.
✨ Features Added
Player2 Client: Full integration with Player2 API including streaming support
Health Monitoring: Automatic health checks every 60 seconds as required by Player2 API
This tool handles the Player2 OAuth flow and provides users with their API key in a copy-paste format, making it easier to configure the mod. Feel free to include this link in the mod description or documentation if you find it useful.
📚 Benefits for Users
Better Conversations: Player2 specializes in character dialogue and personality consistency
More Options: Alternative to Google/OpenAI if users prefer or have quota issues
Easy Setup: Simple API key configuration with helper website
Reliable: Built-in health monitoring and proper error handling
No Breaking Changes: Existing users unaffected, purely additive feature
🙏 Credits
All credit goes to you for creating this amazing mod! This is simply a community contribution to provide users with additional AI provider options.
🎯 Overview
This PR adds Player2 AI as a new provider option, giving users an alternative AI service specifically designed for character dialogue and conversations.
✨ Features Added
🔧 Technical Details
New Files:
Client/Player2/Player2Client.cs- Main API client with streaming supportClient/Player2/Player2Models.cs- Request/response data modelsClient/Player2/Player2StreamHandler.cs- Server-sent events handlerModified Files:
Settings.cs- Added Player2 to provider dropdown and model selectionAIClientFactory.cs- Added Player2 client instantiationAIProviderenum - Added Player2 option🎮 User Experience
🔒 API Compliance
019a8368-b00b-72bc-b367-2825079dc6fb/healthendpoint every 60 seconds when Player2 is active✅ Testing
🔗 User Resources
For users who want to use Player2, I've created a simple web tool to generate API keys:
https://gerikuylerk.com/RimTalk/
This tool handles the Player2 OAuth flow and provides users with their API key in a copy-paste format, making it easier to configure the mod. Feel free to include this link in the mod description or documentation if you find it useful.
📚 Benefits for Users
🙏 Credits
All credit goes to you for creating this amazing mod! This is simply a community contribution to provide users with additional AI provider options.