Skip to content

Commit 860f685

Browse files
committed
fix release version
1 parent 6040fb2 commit 860f685

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

.github/workflows/publish-tag-to-pypi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
with:
1717
python-version: "3.x"
1818
- name: Install build tool
19-
run: python3 -m pip install build --user
19+
run: python3 -m pip install build --user --upgrade
2020
- name: Build wheel and source distribution
2121
run: python3 -m build
2222
- name: Upload distributables as artifact
@@ -39,7 +39,7 @@ jobs:
3939
path: dist/
4040

4141
- name: Install Twine
42-
run: python3 -m pip install --user twine
42+
run: python3 -m pip install --user --upgrade twine
4343

4444
- name: Publish to PyPI
4545
env:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "veadk-python"
3-
version = "0.2.2"
3+
version = "0.2.4"
44
description = "Volcengine agent development kit, integrations with Volcengine cloud services."
55
readme = "README.md"
66
requires-python = ">=3.10"

veadk/agent.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
from veadk.tracing.base_tracer import BaseTracer
4141
from veadk.utils.logger import get_logger
4242
from veadk.utils.patches import patch_asyncio
43+
from veadk.version import VERSION
4344

4445
patch_asyncio()
4546
logger = get_logger(__name__)
@@ -112,6 +113,8 @@ def model_post_init(self, __context: Any) -> None:
112113

113114
self.tools.append(load_memory)
114115

116+
logger.info(f"VeADK version: {VERSION}")
117+
115118
logger.info(f"{self.__class__.__name__} `{self.name}` init done.")
116119
logger.debug(
117120
f"Agent: {self.model_dump(include={'name', 'model_name', 'model_api_base', 'tools', 'serve_url'})}"

veadk/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
VERSION = "0.2.2"
15+
VERSION = "0.2.4"

0 commit comments

Comments
 (0)