From 99ae4956f1bf6d8d051cdf9ae7a107af3a3e65b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=B0=E5=BF=97=E5=AE=8F?= Date: Tue, 4 Mar 2025 15:21:12 +0800 Subject: [PATCH 1/2] =?UTF-8?q?UPDATE=EF=BC=9A=20README.md=20=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0TIMEOUT?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index cc3af8f..27f877f 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,11 @@ docker run -d \ -e API_KEY=替换为你的key \ -e API_URL=替换为你的api地址 \ -e API_MODEL=替换为你的模型 \ + -e API_TIMEOUT=60 \ lanzhihong/stock-scanner:latest +API_TIMEOUT=60 202503040712版本开始 (AI分析发生错误,查看日志是否有timed out类似错误,需要增加你的API超时时间) + 注意⚠️: 环境变量名变更,更新版本后需要调整!!! 针对API_URL处理兼容更多的api地址 From e101a3502ea50b8a01f1911793cc1f0bb12d53d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=B0=E5=BF=97=E5=AE=8F?= Date: Tue, 4 Mar 2025 16:24:21 +0800 Subject: [PATCH 2/2] update github actions --- .github/workflows/docker-image.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 6935921..4260c42 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -2,9 +2,7 @@ name: Docker Build and Push on: push: - branches: [ main ] - pull_request: - branches: [ main ] + branches: [ main ] # 只在 main 分支推送时触发 jobs: build: