(t *testing.T)
| 47 | } |
| 48 | |
| 49 | func TestSeedSummary(t *testing.T) { |
| 50 | t.Parallel() |
| 51 | |
| 52 | t.Run("NonEmptyLabel", func(t *testing.T) { |
| 53 | t.Parallel() |
| 54 | got := chatdebug.SeedSummary("hello world") |
| 55 | require.Equal(t, map[string]any{"first_message": "hello world"}, got) |
| 56 | }) |
| 57 | |
| 58 | t.Run("EmptyLabel", func(t *testing.T) { |
| 59 | t.Parallel() |
| 60 | got := chatdebug.SeedSummary("") |
| 61 | require.Nil(t, got) |
| 62 | }) |
| 63 | } |
| 64 | |
| 65 | func TestExtractFirstUserText(t *testing.T) { |
| 66 | t.Parallel() |
nothing calls this directly
no test coverage detected