/claim #1929
This PR implements full support for OpenRouter as an LLM provider within the Archestra platform. It includes backend integration (proxy adapter, client configuration), frontend updates (logo, settings UI), and comprehensive test coverage. Additionally, this PR resolves critical issues with API key validation in the testing environment and restores standard behavior for the MCP server runtime.
OpenRouterAdapter implementing LLMProvider, LLMRequestAdapter, LLMResponseAdapter, and LLMStreamAdapter.LLMClient to support OpenRouter model detection, API key resolution, and client instantiation./api/proxy/v2/openrouter).Supported LLM Providers documentation.print_archestra_test) during E2E tests.To ensure stability and correctness, the following test scripts were created and used:
run_tests_sequentially.sh: A comprehensive script that executes all project tests in a sequential manner (Shared -> Backend -> Frontend -> E2E). It manages resource cleanup (ports 9000, 3000, 9050) and includes delays to prevent resource contention on local machines.run_e2e_phase.sh: A standalone script focused solely on running the E2E test suite. It sets up the specific environment variables, WireMock containers, and database state required for full integration testing.src/scripts/cleanup-test-data.ts: A utility script to reliably clean up test artifacts (API keys, MCP servers) from the database between test runs.tests/api/chat-settings.spec.ts: Validated CRUD operations for API keys.tests/api/mcp-gateway.spec.ts: Validated tool discovery and MCP server interaction.Fixes #1929
Samer Attrah
@Samir-atra
Archestra
@archestra-ai