29 lines
839 B
Markdown
29 lines
839 B
Markdown
# Release v4928.1.5.6 — Safe Email Reply Agent Phase 1
|
|
|
|
## Added
|
|
|
|
- Optional OpenAI Responses API + file_search email reply agent.
|
|
- New `app/email_reply_agent_service.py`.
|
|
- `message_drafts.metadata.email_agent` with intent, priority, confidence, review flag and knowledge summary.
|
|
- Internal API endpoint `POST /api/internal/tasks/{task_id}/reply-draft`.
|
|
- Admin UI badge/agent status display.
|
|
|
|
## Safety
|
|
|
|
- Draft-only; no automatic sending.
|
|
- Fallback to existing ClientFlow reply assistant if agent is disabled or unavailable.
|
|
- Hard no-reply/internal templates are not overridden by the agent.
|
|
- Server-side reply safety validation remains active.
|
|
|
|
## Configuration
|
|
|
|
Set:
|
|
|
|
```env
|
|
CLIENTFLOW_EMAIL_REPLY_AGENT_ENABLED=true
|
|
OPENAI_API_KEY=sk-proj-...
|
|
OPENAI_VECTOR_STORE_ID=vs_...
|
|
```
|
|
|
|
Keep `false` to preserve the previous behavior.
|