[PR #12928] feat: Add Dify model provider with conversation ID management #14443

Open
opened 2026-02-16 18:19:14 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/12928

State: open
Merged: No


  • Introduce dify provider in provider.ts with custom model
  • Add dify-headers.ts for dynamic header application:
    • Extract conversation ID from message metadata
    • Detect compaction/summary contexts to preserve or reset chat continuity
    • Handle synthetic user messages and real requests appropriately
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12928 **State:** open **Merged:** No --- - Introduce dify provider in provider.ts with custom model - Add dify-headers.ts for dynamic header application: - Extract conversation ID from message metadata - Detect compaction/summary contexts to preserve or reset chat continuity - Handle synthetic user messages and real requests appropriately
yindo added the pull-request label 2026-02-16 18:19:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14443