feat(coordinator-api): integrate dynamic pricing engine with GPU marketplace and add agent identity router

- Add DynamicPricingEngine and MarketDataCollector dependencies to GPU marketplace endpoints
- Implement dynamic pricing calculation for GPU registration with market_balance strategy
- Calculate real-time dynamic prices at booking time with confidence scores and pricing factors
- Enhance /marketplace/pricing/{model} endpoint with comprehensive dynamic pricing analysis
  - Add static vs dynamic price
This commit is contained in:
oib
2026-02-28 22:57:10 +01:00
parent 85ae21a568
commit 0e6c9eda72
83 changed files with 30189 additions and 134 deletions

View File

@@ -26,7 +26,8 @@ from .routers import (
payments,
web_vitals,
edge_gpu,
cache_management
cache_management,
agent_identity
)
from .routers.ml_zk_proofs import router as ml_zk_proofs
from .routers.community import router as community_router
@@ -223,6 +224,7 @@ def create_app() -> FastAPI:
app.include_router(monitoring_dashboard, prefix="/v1")
app.include_router(multi_modal_rl_router, prefix="/v1")
app.include_router(cache_management, prefix="/v1")
app.include_router(agent_identity, prefix="/v1")
# Add Prometheus metrics endpoint
metrics_app = make_asgi_app()