✅ 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!
23 lines
398 B
Python
Executable File
23 lines
398 B
Python
Executable File
#!/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'
|
|
)
|