Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace pdflatex/bibtex with xelatex/biber; Implement decorator-based selective proxy usage for API requests. #1972

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Commits on Sep 20, 2024

  1. Replace pdflatex/bibtex with xelatex/biber

    Update LaTeX compilation process to use more modern tools.
    hongyi-zhao committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    bbc198f View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2024

  1. Modularize Proxy Configuration and Utilities, Enable Configurable NO_…

    …PROXY_URLS
    
    - Add `proxy_utils.py` containing `is_private_ip` and enhanced `should_use_proxy` functions
    - Update `config.py` and include a sample configuration for `NO_PROXY_URLS` used by `proxy_utils.py`
    - Use `should_use_proxy` function to enhance the related operations in `request_llms/bridge_chatgpt.py`
    hongyi-zhao committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    47df21c View commit details
    Browse the repository at this point in the history
  2. Implement selective proxy usage for API requests

    - Add selective_proxy_post decorator in proxy_utils.py
    - Apply decorator to requests.post in bridge_chatgpt.py
    hongyi-zhao committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    48a5052 View commit details
    Browse the repository at this point in the history
  3. Rename selective_proxy_post to selective_proxy for broader applicability

    - Rename decorator in proxy_utils.py from selective_proxy_post to selective_proxy
    - Update decorator usage in bridge_chatgpt.py to reflect the new name
    - This change better reflects the decorator's potential use for all HTTP methods, not just POST
    hongyi-zhao committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    58c3b41 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e2ece6f View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. Configuration menu
    Copy the full SHA
    e928f45 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Refactor private IP detection and add loopback check

    - Added checks for localhost and ip6-localhost to bypass proxy.
    - Used ip.is_loopback for both IPv4 and IPv6 loopback detection.
    hongyi-zhao committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    48f19f0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a87d25 View commit details
    Browse the repository at this point in the history