Skip to content

Commit 2b67bb1

Browse files
committed
feat: Volcengine Agent Development Kit (VeADK)
0 parents  commit 2b67bb1

File tree

450 files changed

+17603
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

450 files changed

+17603
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Copyright 2025 ByteDance and/or its affiliates.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: Bug Report
16+
about: Report a bug in veadk-python
17+
title: '[Bug] '
18+
labels: bug
19+
body:
20+
- type: textarea
21+
id: description
22+
attributes:
23+
label: Bug description
24+
description: Please provide a detailed description of the bug you encountered.
25+
placeholder: When using veadk-python, I encountered an error, the error message is ..., and the stack trace is ...
26+
validations:
27+
required: true
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Copyright 2025 ByteDance and/or its affiliates.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: Feature Request
16+
about: Request a new feature in veadk-python
17+
title: '[Feature] '
18+
labels: enhancement
19+
body:
20+
- type: textarea
21+
id: description
22+
attributes:
23+
label: Feature description
24+
description: Please provide a detailed description of the feature you want to add.
25+
placeholder: I want to add a feature to about ..., because ...
26+
validations:
27+
required: true
28+
29+
- type: input
30+
id: version
31+
attributes:
32+
label: Current version
33+
description: The version of veadk-python you are using.
34+
validations:
35+
required: false
36+
37+
- type: checkboxes
38+
id: terms
39+
attributes:
40+
label: Code of Conduct
41+
options:
42+
- label: I have checked existing feature requests to avoid duplicates.
43+
required: true
44+
- label: I am willing to help test the feature if implemented.
45+
required: false
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Copyright 2025 ByteDance and/or its affiliates.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: Question
16+
about: Ask a question about veadk-python
17+
title: '[Question] '
18+
labels: question
19+
body:
20+
- type: textarea
21+
id: description
22+
attributes:
23+
label: Question description
24+
description: Please provide a detailed description of your question.
25+
placeholder: I am confused about how to use the ... module of veadk-python ...
26+
validations:
27+
required: true
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: License Header Check
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
workflow_dispatch:
8+
9+
jobs:
10+
License-Check:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Check License Header
19+
uses: apache/skywalking-eyes/header@main

.github/workflows/pre-commit.yaml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Copyright 2025 ByteDance and/or its affiliates.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: pre-commit
16+
17+
on:
18+
push:
19+
pull_request:
20+
workflow_dispatch: # manual trigger
21+
22+
jobs:
23+
pre-commit:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Checkout code
27+
uses: actions/checkout@v4
28+
29+
- name: Set up Python
30+
uses: actions/setup-python@v5
31+
with:
32+
python-version: '3.10'
33+
34+
- name: Install pre-commit
35+
run: python -m pip install pre-commit
36+
37+
- name: Show installed packages (debug)
38+
run: python -m pip freeze --local
39+
40+
- name: Cache pre-commit
41+
uses: actions/cache@v4
42+
with:
43+
path: ~/.cache/pre-commit
44+
key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
45+
46+
- name: Run pre-commit
47+
run: pre-commit run --show-diff-on-failure --color=always --all-files
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Copyright 2025 ByteDance and/or its affiliates.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: Secret Scan
16+
17+
on:
18+
pull_request:
19+
push:
20+
21+
jobs:
22+
gitleaks:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Checkout code
26+
uses: actions/checkout@v4
27+
with:
28+
fetch-depth: 0
29+
30+
- name: Secret Scanning
31+
uses: trufflesecurity/trufflehog@7dc056a193116ba8d82154bf0549381c8fb8545c # v3.88.14
32+
with:
33+
extra_args: --results=verified,unknown

.github/workflows/unit-tests.yaml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Copyright 2025 ByteDance and/or its affiliates.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: Unit Tests
16+
17+
on:
18+
push:
19+
paths:
20+
- '**.py'
21+
- 'pyproject.toml'
22+
- 'requirements*.txt'
23+
pull_request:
24+
paths:
25+
- '**.py'
26+
- 'pyproject.toml'
27+
- 'requirements*.txt'
28+
29+
jobs:
30+
test:
31+
runs-on: ubuntu-latest
32+
strategy:
33+
matrix:
34+
python-version: ["3.10", "3.12"]
35+
36+
steps:
37+
- name: Checkout code
38+
uses: actions/checkout@v4
39+
40+
- name: Set up Python ${{ matrix.python-version }}
41+
uses: actions/setup-python@v5
42+
with:
43+
python-version: ${{ matrix.python-version }}
44+
45+
- name: Install the latest version of uv
46+
uses: astral-sh/setup-uv@v6
47+
48+
- name: Install dependencies
49+
run: |
50+
uv venv .venv
51+
source .venv/bin/activate
52+
uv sync
53+
uv pip install -e .
54+
55+
- name: Run unit tests with pytest
56+
run: |
57+
source .venv/bin/activate
58+
pytest -n 16

0 commit comments

Comments
 (0)