mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-06-30 03:55:11 +08:00
### What problem does this PR solve? Feat: Move langfuse configuration to api page #6155 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
parent
1cc17eb611
commit
8fca8faa7d
@ -1,4 +1,5 @@
|
||||
import { useSetModalState, useTranslate } from '@/hooks/common-hooks';
|
||||
import { LangfuseCard } from '@/pages/user-setting/setting-model/langfuse';
|
||||
import apiDoc from '@parent/docs/references/http_api_reference.md';
|
||||
import MarkdownPreview from '@uiw/react-markdown-preview';
|
||||
import { Button, Card, Flex, Space } from 'antd';
|
||||
@ -28,7 +29,7 @@ const ApiContent = ({
|
||||
const { handlePreview } = usePreviewChat(idKey);
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div className="pb-2">
|
||||
<Flex vertical gap={'middle'}>
|
||||
<BackendServiceApi show={showApiKeyModal}></BackendServiceApi>
|
||||
{!hideChatPreviewCard && (
|
||||
@ -62,6 +63,7 @@ const ApiContent = ({
|
||||
hideModal={hideEmbedModal}
|
||||
></EmbedModal>
|
||||
)} */}
|
||||
<LangfuseCard></LangfuseCard>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
@ -58,6 +58,7 @@ const MarkdownToc: React.FC<MarkdownTocProps> = ({ content }) => {
|
||||
position: 'fixed',
|
||||
right: 20,
|
||||
top: 100,
|
||||
bottom: 150,
|
||||
width: 200,
|
||||
background: '#fff',
|
||||
padding: '10px',
|
||||
|
@ -50,7 +50,6 @@ import {
|
||||
} from './hooks';
|
||||
import HunyuanModal from './hunyuan-modal';
|
||||
import styles from './index.less';
|
||||
import { LangfuseCard } from './langfuse';
|
||||
import OllamaModal from './ollama-modal';
|
||||
import SparkModal from './spark-modal';
|
||||
import SystemModelSettingModal from './system-model-setting-modal';
|
||||
@ -368,7 +367,6 @@ const UserSettingModel = () => {
|
||||
|
||||
return (
|
||||
<section id="xx" className="w-full space-y-6">
|
||||
<LangfuseCard></LangfuseCard>
|
||||
<Spin spinning={loading}>
|
||||
<section className={styles.modelContainer}>
|
||||
<SettingTitle
|
||||
|
Loading…
x
Reference in New Issue
Block a user