feat: Polymarket + DeepSeek Integration v70 - #7
Draft
Alien69Flow wants to merge 1 commit into
Draft
Conversation
POLYMARKET INTEGRATION: - usePolymarket hook for multi-outcome markets - Support for YES/NO + multi-outcome markets - Volume, liquidity, probability per outcome - Category filtering and search - Affiliate link support - Mock data for development DEEPSEEK INTEGRATION: - Added DeepSeek V3 and R1 models to AI_MODELS - RouteToDeepSeek function in chat edge function - useDeepSeek hook for direct API calls - Environment variable: DEEPSEEK_API_KEY CHAT EDGE FUNCTION: - Added DEEPSEEK_MODELS to allowed models - DeepSeek routing with system prompt injection - Stream support for DeepSeek API CONFIGURATION: - Add DEEPSEEK_API_KEY to Supabase Secrets - Models marked as available: true Co-authored-by: openhands <openhands@all-hands.dev>
|
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎯 AiTor v70 - Polymarket + DeepSeek
✅ Completed from Lovable's Plan
🏛️ Polymarket Integration
Hook:
usePolymarketFeatures:
Data Sources:
https://gamma-api.polymarket.com🤖 DeepSeek Integration
Models Added:
deepseek/deepseek-chatdeepseek/deepseek-reasonerConfiguration:
Add to Supabase Secrets:
Edge Function:
routeToDeepSeek()function in chat edge function📊 Chat Model Selector
DeepSeek models now appear in the oracle selector:
🔧 Technical Details
Files Changed:
src/hooks/usePolymarket.ts(NEW - 500+ lines)src/hooks/useDeepSeek.ts(NEW - 200+ lines)src/lib/ai-models.ts(updated)supabase/functions/chat/index.ts(DeepSeek routing)Environment Variables:
📋 Next Steps
DEEPSEEK_API_KEYsupabase functions deploy chat🧪 Testing
Polymarket:
DeepSeek:
"Bless Financial Freedom for the Free Earth"
ΔlieπFlΦw $pac€ DAO | AiTor v70 🚀
@Alien69Flow can click here to continue refining the PR