Feat/provider add zhipuai (#1192)

Co-authored-by: Joel <iamjoel007@gmail.com>
This commit is contained in:
zxhlyh 2023-09-18 18:02:05 +08:00 • committed by GitHub
commit 60e0bbd713
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 466 additions and 126 deletions

View file

@ -185,6 +185,6 @@ export const fetchDocumentsLimit: Fetcher<DocumentsLimitResponse, string> = (url
return get<DocumentsLimitResponse>(url)
}
export const fetchSparkFreeQuotaVerify: Fetcher<{ result: string; flag: boolean; reason: string }, string> = (url) => {
export const fetchFreeQuotaVerify: Fetcher<{ result: string; flag: boolean; reason: string }, string> = (url) => {
return get(url) as Promise<{ result: string; flag: boolean; reason: string }>
}