docs(frontend): use new doc styles (#11)

* docs: use new doc styles

* docs: remove comment

* docs: remove comment

* docs: remove comment

---------

Co-authored-by: tecvan <tecvan.fe@gmail.com>
This commit is contained in:
tecvan
2025-07-26 12:36:38 +08:00
committed by GitHub
parent d045dea008
commit 9ca1ae506f
49 changed files with 58 additions and 836 deletions

View File

@@ -91,7 +91,7 @@ export const EditorWithPromptKit: FC<EditorWithPromptKitProps> = props => {
const promptValue = useRef<string>(value || '');
const [FLAGS] = useFlags();
// 开源版暂不支持该功能
// 即将支持,敬请期待
const isHitLLMPromptSkills = FLAGS['bot.automation.llm_prompt_skills'];
const { open, node: PromptLibrary } = usePromptLibraryModal({
@@ -158,7 +158,7 @@ export const EditorWithPromptKit: FC<EditorWithPromptKitProps> = props => {
<InputSlotWidget mode="input" />
<LibraryBlockWidget
{
// 开源版暂不支持该功能
// 即将支持,敬请期待
...(isHitLLMPromptSkills
? {
librarys: libraries,
@@ -179,7 +179,7 @@ export const EditorWithPromptKit: FC<EditorWithPromptKitProps> = props => {
/>
<HighlightExpressionOnActive />
{/* 开源版暂不支持该功能 */}
{/* 即将支持,敬请期待 */}
{isHitLLMPromptSkills ? (
<ContentSearchPopover
variableTree={variableTree}