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:
@@ -65,7 +65,7 @@ const getFileChildren = () => {
|
||||
|
||||
// 1. 是否开启了auto start节点支持音色字段能力
|
||||
// 2. 是否开启了语音资源功能
|
||||
// 开源版暂不支持该功能
|
||||
// 即将支持,敬请期待
|
||||
if (
|
||||
FLAGS['bot.automation.start_support_voice'] &&
|
||||
FLAGS['bot.studio.library_voice_resource']
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
import { type ReactNode } from 'react';
|
||||
|
||||
import { VARIABLE_TYPE_ALIAS_MAP, ViewVariableType } from '@coze-workflow/base';
|
||||
@@ -89,7 +89,6 @@ const getFileChildren = (
|
||||
generateVariableOption({ type: ViewVariableType.Video, parentPath }),
|
||||
// 1. 是否开启了auto start节点支持音色字段能力
|
||||
// 2. 是否开启了语音资源功能
|
||||
// 开源版暂不支持该功能
|
||||
FLAGS['bot.automation.start_support_voice'] &&
|
||||
FLAGS['bot.studio.library_voice_resource']
|
||||
? generateVariableOption({ type: ViewVariableType.Voice })
|
||||
|
||||
@@ -62,7 +62,7 @@ export const Inputs = withFieldArray(
|
||||
tooltip={I18n.t('ltm_240826_01')}
|
||||
testId={getNodeSetterId(fieldName)}
|
||||
actions={[
|
||||
// 开源版暂不支持该功能
|
||||
// 即将支持,敬请期待
|
||||
isChatflow && FLAGS['bot.automation.ltm_enhance'] ? (
|
||||
<HistorySwitchField name="inputs.historySetting.enableChatHistory" />
|
||||
) : null,
|
||||
|
||||
@@ -118,7 +118,7 @@ export const FormRender = withNodeConfigForm(() => {
|
||||
hasFeedback={false}
|
||||
/>
|
||||
|
||||
{/* 开源版暂不支持该功能 */}
|
||||
{/* 即将支持,敬请期待 */}
|
||||
{isChatflow && FLAGS['bot.automation.message_auto_write'] ? (
|
||||
<Section title={I18n.t('basic_setting')} tooltip="">
|
||||
<SwitchField
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user