Commit 09896e77 by Archer Committed by GitHub

Add V4.15.6 documentation translations (#7424)

* Add V4.15.6 documentation translations

* api
parent 0109aced
---
title: 'V4.15.6'
description: 'FastGPT V4.15.6 Release Notes'
---
## 📦 Upgrade Guide
### Image Changes
- Update the `fastgpt-app` (FastGPT core service) image tag to `v4.15.6`.
- Update the `fastgpt-pro` (FastGPT commercial edition) image tag to `v4.15.6`.
## 🐛 Fixes
1. Fixed chat history failing to load when opening a conversation page directly from a link for the first time.
---
title: 'V4.15.6'
description: 'FastGPT V4.15.6 更新说明'
---
## 📦 升级指南
### 镜像变更
- 更新 fastgpt-app(fastgpt 主服务) 镜像 tag: v4.15.6
- 更新 fastgpt-pro(fastgpt 商业版) 镜像 tag: v4.15.6
## 🐛 修复
1. 对话页面,首次直接打开链接时,无法加载历史对话。
{ {
"title": "4.15.x", "title": "4.15.x",
"description": "", "description": "",
"pages": ["4155", "4154", "4153", "4152", "4151", "41500", "41507", "41506", "41505", "41504", "41503", "41502", "41501"] "pages": ["4156", "4155", "4154", "4153", "4152", "4151", "41500", "41507", "41506", "41505", "41504", "41503", "41502", "41501"]
} }
{ {
"title": "4.15.x", "title": "4.15.x",
"description": "", "description": "",
"pages": ["4155", "4154", "4153", "4152", "4151", "41500", "41507", "41506", "41505", "41504", "41503", "41502", "41501"] "pages": ["4156", "4155", "4154", "4153", "4152", "4151", "41500", "41507", "41506", "41505", "41504", "41503", "41502", "41501"]
} }
...@@ -166,6 +166,7 @@ description: FastGPT Toc ...@@ -166,6 +166,7 @@ description: FastGPT Toc
- [/en/self-host/upgrading/4-15/4153](/en/self-host/upgrading/4-15/4153) - [/en/self-host/upgrading/4-15/4153](/en/self-host/upgrading/4-15/4153)
- [/en/self-host/upgrading/4-15/4154](/en/self-host/upgrading/4-15/4154) - [/en/self-host/upgrading/4-15/4154](/en/self-host/upgrading/4-15/4154)
- [/en/self-host/upgrading/4-15/4155](/en/self-host/upgrading/4-15/4155) - [/en/self-host/upgrading/4-15/4155](/en/self-host/upgrading/4-15/4155)
- [/en/self-host/upgrading/4-15/4156](/en/self-host/upgrading/4-15/4156)
- [/en/self-host/upgrading/4-16/41601](/en/self-host/upgrading/4-16/41601) - [/en/self-host/upgrading/4-16/41601](/en/self-host/upgrading/4-16/41601)
- [/en/self-host/upgrading/outdated/40](/en/self-host/upgrading/outdated/40) - [/en/self-host/upgrading/outdated/40](/en/self-host/upgrading/outdated/40)
- [/en/self-host/upgrading/outdated/41](/en/self-host/upgrading/outdated/41) - [/en/self-host/upgrading/outdated/41](/en/self-host/upgrading/outdated/41)
......
...@@ -168,6 +168,7 @@ description: FastGPT 文档目录 ...@@ -168,6 +168,7 @@ description: FastGPT 文档目录
- [/self-host/upgrading/4-15/4153](/self-host/upgrading/4-15/4153) - [/self-host/upgrading/4-15/4153](/self-host/upgrading/4-15/4153)
- [/self-host/upgrading/4-15/4154](/self-host/upgrading/4-15/4154) - [/self-host/upgrading/4-15/4154](/self-host/upgrading/4-15/4154)
- [/self-host/upgrading/4-15/4155](/self-host/upgrading/4-15/4155) - [/self-host/upgrading/4-15/4155](/self-host/upgrading/4-15/4155)
- [/self-host/upgrading/4-15/4156](/self-host/upgrading/4-15/4156)
- [/self-host/upgrading/4-16/41601](/self-host/upgrading/4-16/41601) - [/self-host/upgrading/4-16/41601](/self-host/upgrading/4-16/41601)
- [/self-host/upgrading/outdated/40](/self-host/upgrading/outdated/40) - [/self-host/upgrading/outdated/40](/self-host/upgrading/outdated/40)
- [/self-host/upgrading/outdated/41](/self-host/upgrading/outdated/41) - [/self-host/upgrading/outdated/41](/self-host/upgrading/outdated/41)
......
...@@ -5,6 +5,7 @@ import type { NodeApiResponse } from '../../types/http'; ...@@ -5,6 +5,7 @@ import type { NodeApiResponse } from '../../types/http';
import { teamQPM } from '../../support/wallet/sub/utils'; import { teamQPM } from '../../support/wallet/sub/utils';
import z from 'zod'; import z from 'zod';
import { getLogger, LogCategories } from '../logger'; import { getLogger, LogCategories } from '../logger';
import { UserError } from '@fastgpt/global/common/error/utils';
const logger = getLogger(LogCategories.HTTP.RESPONSE); const logger = getLogger(LogCategories.HTTP.RESPONSE);
...@@ -74,7 +75,9 @@ export const teamFrequencyLimit = async ({ ...@@ -74,7 +75,9 @@ export const teamFrequencyLimit = async ({
}); });
jsonRes(res, { jsonRes(res, {
code: 429, code: 429,
error: `Rate limit exceeded. Maximum ${limit} requests per ${seconds} seconds for this team. Please try again in ${remainingTime} seconds.` error: new UserError(
`Rate limit exceeded. Maximum ${limit} requests per ${seconds} seconds for this team. Please try again in ${remainingTime} seconds.`
)
}); });
return false; return false;
} }
......
...@@ -16,7 +16,9 @@ export const getBills = (data: GetBillListQueryType) => ...@@ -16,7 +16,9 @@ export const getBills = (data: GetBillListQueryType) =>
POST<GetBillListResponseType>(`/proApi/support/wallet/bill/list`, data); POST<GetBillListResponseType>(`/proApi/support/wallet/bill/list`, data);
export const postCreatePayBill = (data: CreateBillPropsType) => export const postCreatePayBill = (data: CreateBillPropsType) =>
POST<CreateBillResponseType>(`/proApi/support/wallet/bill/create`, data); POST<CreateBillResponseType>(`/proApi/support/wallet/bill/create`, data, {
deduplicate: true
});
export const checkBalancePayResult = (payId: string): Promise<CheckPayResultResponseType> => export const checkBalancePayResult = (payId: string): Promise<CheckPayResultResponseType> =>
GET<CheckPayResultResponseType>(`/proApi/support/wallet/bill/pay/checkPayResult`, { payId }).then( GET<CheckPayResultResponseType>(`/proApi/support/wallet/bill/pay/checkPayResult`, { payId }).then(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment