The previous merge used sourceFormat check which broke Cursor when it sends openai-responses format requests. Now uses user-agent detection: - Droid CLI (user-agent contains 'droid' or 'codex-cli') → passthrough - Other clients (Cursor, etc.) → translate to Chat Completions format This fixes the API translation for both clients. Co-authored-by: Hellodebasishsahu <itsyourboydevil@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|---|---|---|
| .. | ||
| chatCore.js | ||
| responsesHandler.js | ||