Skip to content

Commit 3bad2f3

Browse files
authored
Merge pull request #123 from codelion/codelion-patch-1
Update publish.yml
2 parents 444450b + 4ecf109 commit 3bad2f3

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ jobs:
3838
steps:
3939
- uses: actions/checkout@v4
4040

41+
- name: Set up QEMU
42+
uses: docker/setup-qemu-action@v3
43+
4144
- name: Set up Docker Buildx
4245
uses: docker/setup-buildx-action@v3
4346

@@ -63,5 +66,8 @@ jobs:
6366
with:
6467
context: .
6568
push: true
69+
platforms: linux/amd64,linux/arm64
6670
tags: ${{ steps.meta.outputs.tags }}
6771
labels: ${{ steps.meta.outputs.labels }}
72+
cache-from: type=gha
73+
cache-to: type=gha,mode=max

optillm/plugins/readurls_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def extract_urls(text: str) -> List[str]:
2525
def fetch_webpage_content(url: str, max_length: int = 100000) -> str:
2626
try:
2727
headers = {
28-
'User-Agent': 'optillm/0.0.18 (https://github.com/codelion/optillm)'
28+
'User-Agent': 'optillm/0.0.19 (https://github.com/codelion/optillm)'
2929
}
3030

3131
response = requests.get(url, headers=headers, timeout=10)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="optillm",
5-
version="0.0.18",
5+
version="0.0.19",
66
packages=find_packages(),
77
py_modules=['optillm'],
88
package_data={

0 commit comments

Comments
 (0)