You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: extract getFetchInputUrl helper to deduplicate URL extraction
The OpenAI/Codex and Copilot fetch wrappers each contained an identical
15-line IIFE that extracted a URL string from the `fetch` `input`
argument (handling string, URL, and Request-like shapes). Extract the
logic into a single `getFetchInputUrl` helper so both wrappers share
one implementation.
Behavior-preserving: the helper returns the same empty-string fallback
on unrecognized inputs, so callers continue to fall through to normal
fetch behavior without throwing.
0 commit comments