Add dd0c/route integration tests: proxy engine with wiremock

- Forward request to upstream and verify response passthrough
- Telemetry event emission (org_id, model, latency, status)
- Low-complexity routing: gpt-4o → gpt-4o-mini with strategy=cheapest
- Upstream error passthrough (429 rate limit)
- Invalid JSON → 400 Bad Request
- Health endpoint returns 200
This commit is contained in:
2026-03-01 02:40:09 +00:00
parent c5ef45e69b
commit e882f181d5
2 changed files with 262 additions and 0 deletions

View File

@@ -0,0 +1 @@
mod proxy_test;