Skip to content

Commit

Permalink
Merge pull request #123 from codelion/codelion-patch-1
Browse files Browse the repository at this point in the history
Update publish.yml
  • Loading branch information
codelion authored Jan 2, 2025
2 parents 444450b + 4ecf109 commit 3bad2f3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
2 changes: 1 addition & 1 deletion optillm/plugins/readurls_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="optillm",
version="0.0.18",
version="0.0.19",
packages=find_packages(),
py_modules=['optillm'],
package_data={
Expand Down

0 comments on commit 3bad2f3

Please sign in to comment.