diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index f187ead3..caef3644 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -35,16 +35,6 @@ jobs: apt-get update && apt-get install -y curl curl -fsSL https://deb.nodesource.com/setup_22.x | bash - apt-get install -y nodejs - - name: Cache cargo registry - uses: actions/cache@v4 - with: - path: | - ~/.cargo/registry/index - ~/.cargo/registry/cache - ~/.cargo/git/db - key: ${{ runner.os }}-cargo-linux-amd64-${{ hashFiles('**/Cargo.lock') }} - restore-keys: | - ${{ runner.os }}-cargo-linux-amd64- - name: Install dependencies run: npm install --legacy-peer-deps - name: Update version from Git @@ -75,16 +65,6 @@ jobs: echo "Fetched fallback ref: master" fi git checkout FETCH_HEAD - - name: Cache cargo registry - uses: actions/cache@v4 - with: - path: | - ~/.cargo/registry/index - ~/.cargo/registry/cache - ~/.cargo/git/db - key: ${{ runner.os }}-cargo-linux-amd64-${{ hashFiles('**/Cargo.lock') }} - restore-keys: | - ${{ runner.os }}-cargo-linux-amd64- - run: cargo clippy --manifest-path src-tauri/Cargo.toml -- -D warnings rust-tests: @@ -110,16 +90,6 @@ jobs: echo "Fetched fallback ref: master" fi git checkout FETCH_HEAD - - name: Cache cargo registry - uses: actions/cache@v4 - with: - path: | - ~/.cargo/registry/index - ~/.cargo/registry/cache - ~/.cargo/git/db - key: ${{ runner.os }}-cargo-linux-amd64-${{ hashFiles('**/Cargo.lock') }} - restore-keys: | - ${{ runner.os }}-cargo-linux-amd64- - run: cargo test --manifest-path src-tauri/Cargo.toml -- --test-threads=1 - name: Run shell module tests diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 6f15d6a1..14c6551c 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -71,3 +71,4 @@ strip = true + diff --git a/src-tauri/src/ai/openai.rs b/src-tauri/src/ai/openai.rs index 83c3d680..bf48a37c 100644 --- a/src-tauri/src/ai/openai.rs +++ b/src-tauri/src/ai/openai.rs @@ -453,11 +453,7 @@ impl OpenAiProvider { }); if let Some(args) = arguments { - tracing::info!( - "GenAI: Parsed tool call: {} ({})", - name, - id - ); + tracing::info!("GenAI: Parsed tool call: {} ({})", name, id); return Some(crate::ai::ToolCall { id: id.to_string(), name: name.to_string(),