Skip to content

Commit

Permalink
chore: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcc committed Aug 20, 2024
1 parent a435a6d commit 990f788
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions web/components/chat/chat-content/config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ function matchCustomeTagValues(context: string) {
}

const codeComponents = {
/**
* @description
* Custom code block rendering, which can be used to render custom components in the code block.
* Is it defined in gpt-vis, and the default rendering contains `vis-chart`.
*/
code: withDefaultChartCode({
languageRenderers: {
'agent-plans': ({ inline, node, className, children, style, ...props }) => {
Expand Down

0 comments on commit 990f788

Please sign in to comment.