fix dashboard build (#1167)

This commit is contained in:
Chris Tate
2026-04-06 10:05:35 -05:00
committed by GitHub
parent 77805ff4bc
commit 92d730e5fd
2 changed files with 26 additions and 1 deletions
+25
View File
@@ -44,6 +44,31 @@ jobs:
- name: Run Rust tests
run: cargo test --profile ci --manifest-path cli/Cargo.toml
dashboard:
name: Dashboard
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Install dependencies
run: pnpm install --filter dashboard
working-directory: packages/dashboard
- name: Build dashboard
run: pnpm build
working-directory: packages/dashboard
rust-cross:
name: Rust (${{ matrix.os }} - ${{ matrix.target }})
if: github.event_name != 'pull_request'
@@ -342,7 +342,7 @@ export function ChatPanel() {
).current;
const { messages, sendMessage, stop, status, setMessages, error } = useChat({
chatId,
id: chatId,
transport,
onError: () => setErrorDismissed(false),
});