Skip to content

Commit 37da964

Browse files
docs: fix typo in chatbot chain-of-thought (#53)
* fix(docs): correct typo in ComponentLoader label from "Preivew" to "Preview" * fix(docs): remove duplicated ChainOfThoughtSearchResults.vue block
1 parent 10ed1c7 commit 37da964

File tree

2 files changed

+2
-21
lines changed

2 files changed

+2
-21
lines changed

apps/www/content/3.components/1.chatbot/chain-of-thought.md

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ icon: lucide:brain
66

77
The `ChainOfThought` component provides a visual representation of an AI's reasoning process, showing step-by-step thinking with support for search results, images, and progress indicators. It helps users understand how AI arrives at conclusions.
88

9-
:::ComponentLoader{label="Preivew" componentName="ChainOfThought"}
9+
:::ComponentLoader{label="Preview" componentName="ChainOfThought"}
1010
:::
1111

1212
## Install using CLI
@@ -287,25 +287,6 @@ const props = defineProps<{
287287
</template>
288288
```
289289

290-
```vue [ChainOfThoughtSearchResults.vue]
291-
<script setup lang="ts">
292-
import type { HtmlHTMLAttributes } from 'vue'
293-
import { cn } from '@repo/shadcn-vue/lib/utils'
294-
295-
const props = defineProps<{
296-
class?: HtmlHTMLAttributes['class']
297-
}>()
298-
</script>
299-
300-
<template>
301-
<div
302-
:class="cn('flex items-center gap-2', props.class)"
303-
v-bind="$attrs"
304-
>
305-
<slot />
306-
</div>
307-
</template>
308-
```
309290

310291
```ts [context.ts]
311292
import type { InjectionKey, Ref } from 'vue'

apps/www/content/3.components/1.chatbot/context.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ icon: lucide:layers
66

77
The `Context` component provides a comprehensive view of AI model usage through a compound component system. It displays context window utilization, token consumption breakdown (input, output, reasoning, cache), and cost estimation in an interactive hover card interface.
88

9-
:::ComponentLoader{label="Preivew" componentName="Context"}
9+
:::ComponentLoader{label="Preview" componentName="Context"}
1010
:::
1111

1212
## Install using CLI

0 commit comments

Comments
 (0)