feat: add provider abstraction for review backends

This commit is contained in:
2026-06-12 19:23:45 +01:00
parent 1b8edb7eba
commit 732d6edd38
22 changed files with 1432 additions and 882 deletions
+5 -1
View File
@@ -54,11 +54,15 @@ Context Budget Enforcement
Prompt Builder
OpenAI Responses API
Provider Factory (createChatProvider)
OpenAI Provider → OpenAI Responses API
Advisory Response
```
The provider layer is configurable via `CHATGPT_MCP_PROVIDER` env var. Currently only `"openai"` is supported, but the factory pattern enables future providers without touching tool handlers.
All responses are advisory only.
---