diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d8a50b50..7d748f4d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -38,6 +38,9 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -63,5 +66,8 @@ jobs: with: context: . push: true + platforms: linux/amd64,linux/arm64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + cache-from: type=gha + cache-to: type=gha,mode=max diff --git a/optillm/plugins/readurls_plugin.py b/optillm/plugins/readurls_plugin.py index 6fa44755..8d6e9d1b 100644 --- a/optillm/plugins/readurls_plugin.py +++ b/optillm/plugins/readurls_plugin.py @@ -25,7 +25,7 @@ def extract_urls(text: str) -> List[str]: def fetch_webpage_content(url: str, max_length: int = 100000) -> str: try: headers = { - 'User-Agent': 'optillm/0.0.18 (https://github.com/codelion/optillm)' + 'User-Agent': 'optillm/0.0.19 (https://github.com/codelion/optillm)' } response = requests.get(url, headers=headers, timeout=10) diff --git a/setup.py b/setup.py index 40a19e9c..c2693f61 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name="optillm", - version="0.0.18", + version="0.0.19", packages=find_packages(), py_modules=['optillm'], package_data={