From dc28e9187b0f94d1cad07dd8a9f0106f88fd4ec8 Mon Sep 17 00:00:00 2001
From: liangxinbing <1580466765@qq.com>
Date: Sat, 8 Mar 2025 15:54:23 +0800
Subject: [PATCH] adjust code format
---
.github/ISSUE_TEMPLATE/config.yaml | 2 +-
.github/ISSUE_TEMPLATE/request_new_features.md | 12 ++++++------
.github/ISSUE_TEMPLATE/show_me_the_bug.md | 8 ++++----
.github/PULL_REQUEST_TEMPLATE.md | 2 +-
.github/workflows/build-package.yaml | 2 +-
.github/workflows/pre-commit.yaml | 2 +-
.github/workflows/stale.yaml | 2 +-
.github/workflows/unittest.yaml | 2 +-
README_zh.md | 4 ++--
app/config.py | 2 +-
app/llm.py | 8 +++-----
app/tool/file_saver.py | 2 --
config/config.example.toml | 2 +-
setup.py | 3 ++-
14 files changed, 25 insertions(+), 28 deletions(-)
diff --git a/.github/ISSUE_TEMPLATE/config.yaml b/.github/ISSUE_TEMPLATE/config.yaml
index 7f86f38..892abfb 100644
--- a/.github/ISSUE_TEMPLATE/config.yaml
+++ b/.github/ISSUE_TEMPLATE/config.yaml
@@ -1,4 +1,4 @@
blank_issues_enabled: false
contact_links:
- name: "📑 Read online docs"
- about: Find tutorials, use cases, and guides in the OpenManus documentation.
\ No newline at end of file
+ about: Find tutorials, use cases, and guides in the OpenManus documentation.
diff --git a/.github/ISSUE_TEMPLATE/request_new_features.md b/.github/ISSUE_TEMPLATE/request_new_features.md
index a30bb81..c191adb 100644
--- a/.github/ISSUE_TEMPLATE/request_new_features.md
+++ b/.github/ISSUE_TEMPLATE/request_new_features.md
@@ -1,9 +1,9 @@
---
-name: "🤔 Request new features"
-about: Suggest ideas or features you’d like to see implemented in OpenManus.
-title: ''
-labels: kind/features
-assignees: ''
+name: "🤔 Request new features"
+about: Suggest ideas or features you’d like to see implemented in OpenManus.
+title: ''
+labels: kind/features
+assignees: ''
---
**Feature description**
@@ -11,4 +11,4 @@ assignees: ''
**Your Feature**
-
\ No newline at end of file
+
diff --git a/.github/ISSUE_TEMPLATE/show_me_the_bug.md b/.github/ISSUE_TEMPLATE/show_me_the_bug.md
index 9748f0d..a3d8700 100644
--- a/.github/ISSUE_TEMPLATE/show_me_the_bug.md
+++ b/.github/ISSUE_TEMPLATE/show_me_the_bug.md
@@ -1,8 +1,8 @@
---
-name: "🪲 Show me the Bug"
-about: Report a bug encountered while using OpenManus and seek assistance.
+name: "🪲 Show me the Bug"
+about: Report a bug encountered while using OpenManus and seek assistance.
title: ''
-labels: kind/bug
+labels: kind/bug
assignees: ''
---
@@ -22,4 +22,4 @@ assignees: ''
- Installation method (e.g., `pip install -r requirements.txt` or `pip install -e .`):
**Screenshots or logs**
-
\ No newline at end of file
+
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index d88d89a..1859f27 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -14,4 +14,4 @@
**Other**
-
\ No newline at end of file
+
diff --git a/.github/workflows/build-package.yaml b/.github/workflows/build-package.yaml
index bc4be72..754c300 100644
--- a/.github/workflows/build-package.yaml
+++ b/.github/workflows/build-package.yaml
@@ -30,4 +30,4 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python setup.py bdist_wheel sdist
- twine upload dist/*
\ No newline at end of file
+ twine upload dist/*
diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml
index c9824d0..944cd65 100644
--- a/.github/workflows/pre-commit.yaml
+++ b/.github/workflows/pre-commit.yaml
@@ -23,4 +23,4 @@ jobs:
python -m pip install --upgrade pip
pip install pre-commit black==23.1.0 isort==5.12.0 autoflake==2.0.1
- name: Run pre-commit hooks
- run: pre-commit run --all-files
\ No newline at end of file
+ run: pre-commit run --all-files
diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml
index edc31d9..70d8458 100644
--- a/.github/workflows/stale.yaml
+++ b/.github/workflows/stale.yaml
@@ -20,4 +20,4 @@ jobs:
close-issue-message: "This issue was closed due to 45 days of inactivity. Reopen if still relevant."
days-before-pr-stale: -1
days-before-pr-close: -1
- repo-token: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/unittest.yaml b/.github/workflows/unittest.yaml
index 4ed826a..cfd3b31 100644
--- a/.github/workflows/unittest.yaml
+++ b/.github/workflows/unittest.yaml
@@ -44,4 +44,4 @@ jobs:
name: pytest-results-${{ matrix.python-version }}
path: ./unittest.txt
retention-days: 3
- if: ${{ always() }}
\ No newline at end of file
+ if: ${{ always() }}
diff --git a/README_zh.md b/README_zh.md
index 7940301..9c8cc8f 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -6,7 +6,7 @@