Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Commit

Permalink
feat(rust): llm stream support (#151)
Browse files Browse the repository at this point in the history
* feat(rust): llm stream support

Signed-off-by: Yuhang Shi <[email protected]>

* update example

Signed-off-by: Yuhang Shi <[email protected]>

* more tests

Signed-off-by: Yuhang Shi <[email protected]>

* feat: local stream

Signed-off-by: Yuhang Shi <[email protected]>

* update Cargo.toml

Signed-off-by: Yuhang Shi <[email protected]>

* update first-interaction

Signed-off-by: Yuhang Shi <[email protected]>

* udeps

Signed-off-by: Yuhang Shi <[email protected]>

---------

Signed-off-by: Yuhang Shi <[email protected]>
  • Loading branch information
Yuhang Shi authored Nov 30, 2023
1 parent 86eb335 commit 2fc3203
Show file tree
Hide file tree
Showing 27 changed files with 1,143 additions and 600 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ jobs:

- uses: dtolnay/rust-toolchain@nightly

- run: cargo install cargo-tarpaulin
- uses: taiki-e/install-action@v2
with:
tool: cargo-tarpaulin

- name: Generate code coverage
working-directory: packages/rust-core
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
- uses: actions/first-interaction@v1.3.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
pr-message: 'Hello @${{ github.actor }}, thanks for opening your first pull request 😊! We really appreciate your work. Happy Coding 🎉🎊 !'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ jobs:
steps:
- uses: actions/labeler@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
dot: true
sync-labels: true
23 changes: 20 additions & 3 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,20 @@ jobs:
- name: Audit dependencies
run: cargo audit

udeps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@nightly

- uses: taiki-e/install-action@v2
with:
tool: cargo-udeps

- name: udeps
run: cargo +nightly udeps

lint:
name: rust-ci-lint
runs-on: ubuntu-latest
Expand All @@ -64,13 +78,16 @@ jobs:

- uses: dtolnay/rust-toolchain@stable

- run: cargo install cargo-deny
- uses: taiki-e/install-action@v2
with:
tool: cargo-deny

- run: cargo deny check

windows-test:
name: rust-ci-test-windows
runs-on: windows-latest
timeout-minutes: 30
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -102,7 +119,7 @@ jobs:
test:
name: rust-ci-test
runs-on: ${{ matrix.os }}
timeout-minutes: 30
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
Expand Down
Loading

0 comments on commit 2fc3203

Please sign in to comment.