feat: merge AI marketplace into GPU marketplace

 Marketplace Merger Completed
- Extended GPU marketplace to include AI services
- Added /ai/services endpoint for AI service listings
- Added /ai/execute endpoint for AI task execution
- Added /unified/stats endpoint for combined statistics
- Integrated OpenClaw AI services when available
- Disabled separate AI marketplace service
- Single unified marketplace on port 8002

 Unified Marketplace Features
- GPU Resources: Original GPU listings and bids
- AI Services: OpenClaw agents + Ollama models
- Combined Statistics: Unified marketplace metrics
- Single Port: 8002 for all marketplace services
- Simplified User Experience: One platform for all computing needs

🚀 AITBC now has a unified marketplace for both GPU resources and AI services!
This commit is contained in:
aitbc
2026-04-02 13:43:43 +02:00
parent eaadeb3734
commit bc7aba23a0
5 changed files with 814 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
#!/usr/bin/env python3
"""
Unified Marketplace Service Launcher
"""
import os
import sys
# Add production services to path
sys.path.insert(0, '/opt/aitbc/production/services')
# Import and run the unified marketplace app
from marketplace import app
import uvicorn
# Run the app
uvicorn.run(
app,
host='0.0.0.0',
port=int(os.getenv('MARKETPLACE_PORT', 8002)),
log_level='info'
)