Skip to content

Commit 9c20230

Browse files
authored
Add LLM Agent example. (#3150)
## Motivation Linera's architecture offers a unique opportunity for AI agents to interact with blockchains with low-latency and at low cost by offering them their own blockspace in microchains. ## Proposal This example application shows how this can be achieved using the `rig` framework and a simple CLI REPL. ## Release Plan - Nothing to do / These changes follow the usual release cycle. ## Links https://rig.rs/
1 parent a918bc9 commit 9c20230

File tree

7 files changed

+2366
-49
lines changed

7 files changed

+2366
-49
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,8 @@ jobs:
315315
run: |
316316
cd examples
317317
cargo sort --check --workspace --grouped
318+
cd agent
319+
cargo sort --check
318320
319321
lint-check-for-outdated-readme:
320322
runs-on: ubuntu-latest
@@ -353,6 +355,8 @@ jobs:
353355
cargo fmt -- --check
354356
cargo clippy --all-targets --all-features --target wasm32-unknown-unknown --locked
355357
cargo clippy --all-targets --all-features --target x86_64-unknown-linux-gnu --locked
358+
cd agent
359+
cargo fmt -- --check
356360
357361
lint-cargo-clippy:
358362
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)