summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/publish.yml5
-rw-r--r--packages/tui/internal/components/chat/message.go3
2 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index c5c8b4a88..c6cbdef22 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -32,6 +32,11 @@ jobs:
with:
bun-version: 1.2.16
+ - name: Test npm auth
+ run: npm whoami
+ env:
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+
- run: |
bun install
./script/publish.ts
diff --git a/packages/tui/internal/components/chat/message.go b/packages/tui/internal/components/chat/message.go
index 8a6d7c20f..131898c84 100644
--- a/packages/tui/internal/components/chat/message.go
+++ b/packages/tui/internal/components/chat/message.go
@@ -484,6 +484,9 @@ func renderArgs(args *map[string]any, titleKey string) string {
title := ""
parts := []string{}
for key, value := range *args {
+ if value == nil {
+ continue
+ }
if key == "filePath" || key == "path" {
value = relative(value.(string))
}