diff --git a/public/docs/chatProblem.md b/public/docs/chatProblem.md index 29298ef37..1d8d19ab6 100644 --- a/public/docs/chatProblem.md +++ b/public/docs/chatProblem.md @@ -1,18 +1,15 @@ ### 常见问题 -**请求次数太多了** -一般是因为自己的 openai 账号异常。请先检查自己的账号是否正常使用。 +**Git 地址** +[项目地址,完全开源,随便用。](https://github.com/c121914yu/FastGPT) -**内容长度** -不同模型上上限不一样,现在全设置为最大上限。 +**问题文档** +[先看文档,再提问](https://kjqvjse66l.feishu.cn/docx/HtrgdT0pkonP4kxGx8qcu6XDnGh) **删除和复制** 电脑端:聊天内容右侧有复制和删除的图标。 移动端:点击对话头像,可以选择复制或删除该条内容。 -**代理出错** -服务器不稳定,可以过一会儿再尝试。 或者可以访问国外服务器: [FastGpt](https://fastgpt.run/) - **价格表** 如果使用了自己的 Api Key,不会计费。可以在账号页,看到详细账单。 | 计费项 | 价格: 元/ 1K tokens(包含上下文)| diff --git a/src/components/Icon/icons/git.svg b/src/components/Icon/icons/git.svg new file mode 100644 index 000000000..665bda378 --- /dev/null +++ b/src/components/Icon/icons/git.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/Icon/index.tsx b/src/components/Icon/index.tsx index 271b52784..e6825ade2 100644 --- a/src/components/Icon/index.tsx +++ b/src/components/Icon/index.tsx @@ -25,7 +25,8 @@ const map = { tabbarMe: require('./icons/phoneTabbar/me.svg').default, closeSolid: require('./icons/closeSolid.svg').default, wx: require('./icons/wx.svg').default, - out: require('./icons/out.svg').default + out: require('./icons/out.svg').default, + git: require('./icons/git.svg').default }; export type IconName = keyof typeof map; diff --git a/src/components/Layout/navbar.tsx b/src/components/Layout/navbar.tsx index 6df77975c..afd49b285 100644 --- a/src/components/Layout/navbar.tsx +++ b/src/components/Layout/navbar.tsx @@ -125,6 +125,24 @@ const Navbar = () => { ))} + + window.open('https://github.com/c121914yu/FastGPT')} + > + + + ); }; diff --git a/src/pages/tools/index.tsx b/src/pages/tools/index.tsx index c18c2ca60..4524dd09d 100644 --- a/src/pages/tools/index.tsx +++ b/src/pages/tools/index.tsx @@ -19,6 +19,11 @@ const list = [ icon: 'develop', label: '开发', link: '/openapi' + }, + { + icon: 'git', + label: 'Git项目地址', + link: 'https://github.com/c121914yu/FastGPT' } ];