feat: add provider abstraction for review backends
This commit is contained in:
@@ -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.
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user