Skip to content

Conversation

github-actions[bot]
Copy link

Closes #250

Applied changes based on Issue #250.

I’ve wired up the --fetch handler to use the Jina Reader proxy (prefixing each URL with https://r.jina.ai/) so that all fetched content is preprocessed through Jina. I also updated both the “Issues” and “PRs” examples in the README to document this behavior.

Summary of changes:

  • src/github/action.ts
    • In the --fetch block, replaced direct axios.get(url) with
      const readerUrl = `https://r.jina.ai/${url}`;
      await axios.get<string>(readerUrl, )
      so the Jina Reader API does the preprocessing.
  • README.md
    • After each /codex --fetch … snippet (in both the Issues and PRs sections), added a note:
      “By default, URLs are fetched and preprocessed via the Jina Reader API by prefixing each URL with https://r.jina.ai/, which retrieves the processed content.”

Let me know if you’d like any further tweaks or tests around this!

@YiweiShen YiweiShen merged commit 37e3552 into main Jun 25, 2025
@YiweiShen YiweiShen deleted the codez-chore-250-feat-reader-preprocess-fetched-data-with-jina-reader-api branch June 25, 2025 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Preprocess the fetched data using the Jina Reader API.

1 participant