mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 16:56:24 +02:00
Use open-message-format to serialize and deserialize embeddings api (#18)
* Use open-message-format to serialize and deserialize embeddings api
This commit is contained in:
parent
a59c7df2a2
commit
cad38295bf
9 changed files with 1265 additions and 47 deletions
18
.github/workflows/checks.yml
vendored
18
.github/workflows/checks.yml
vendored
|
|
@ -9,6 +9,10 @@ jobs:
|
|||
steps:
|
||||
- name: Setup | Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
# TODO: Remove this once the repo is public
|
||||
token: ${{ secrets.ADIL_GITHUB_TOKEN }}
|
||||
- name: Setup | Rust
|
||||
run: rustup toolchain install stable --profile minimal
|
||||
- name: Run Clippy
|
||||
|
|
@ -21,20 +25,28 @@ jobs:
|
|||
steps:
|
||||
- name: Setup | Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
# TODO: Remove this once the repo is public
|
||||
token: ${{ secrets.ADIL_GITHUB_TOKEN }}
|
||||
- name: Setup | Rust
|
||||
run: rustup toolchain install stable --profile minimal
|
||||
- name: Run Rustfmt
|
||||
run: cd envoyfilter && cargo fmt --all -- --check
|
||||
|
||||
run: cd envoyfilter && cargo fmt -p intelligent-prompt-gateway -- --check
|
||||
|
||||
test:
|
||||
name: Test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup | Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
# TODO: Remove this once the repo is public
|
||||
token: ${{ secrets.ADIL_GITHUB_TOKEN }}
|
||||
- name: Setup | Rust
|
||||
run: rustup toolchain install stable --profile minimal
|
||||
- name: Run Tests
|
||||
# --lib is to only test the library, since when integration tests are made,
|
||||
# --lib is to only test the library, since when integration tests are made,
|
||||
# they will be in a seperate tests directory
|
||||
run: cd envoyfilter && cargo test --lib
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue