Skip to content

Commit 5febef1

Browse files
authored
chore: vendor tinyagents dependency (#72)
1 parent 1a3fcc5 commit 5febef1

6 files changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
# This job executes repo code (cargo build/test); don't persist the
2424
# token in git config.
2525
persist-credentials: false
26+
submodules: true
2627

2728
- uses: dtolnay/rust-toolchain@stable
2829
with:
@@ -70,6 +71,7 @@ jobs:
7071
- uses: actions/checkout@v7
7172
with:
7273
persist-credentials: false
74+
submodules: true
7375

7476
- uses: dtolnay/rust-toolchain@stable
7577

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
- uses: actions/checkout@v7
3232
with:
3333
fetch-depth: 0
34+
submodules: true
3435

3536
- uses: dtolnay/rust-toolchain@stable
3637
with:

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "vendor/tinyagents"]
2+
path = vendor/tinyagents
3+
url = https://github.com/tinyhumansai/tinyagents.git

Cargo.lock

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ serde_json = "1"
6363
schemars = "1"
6464
sha2 = "0.10"
6565
thiserror = "2"
66-
tinyagents = { git = "https://github.com/senamakel/tinyagents", rev = "8f75355" }
66+
# Kept in lockstep with OpenHuman's vendored TinyAgents checkout. Initialize it
67+
# after cloning with `git submodule update --init vendor/tinyagents`.
68+
tinyagents = { version = "2", path = "vendor/tinyagents" }
6769
toml = "0.8"
6870
uuid = { version = "1", features = ["serde", "v4"] }
6971
walkdir = "2"

vendor/tinyagents

Submodule tinyagents added at 674d89f

0 commit comments

Comments
 (0)