loi he thong

This commit is contained in:
quangdn-ght
2025-06-27 18:05:37 +07:00
parent a043f039f0
commit 4ec717f94a
8 changed files with 20 additions and 18 deletions

View File

@@ -212,7 +212,7 @@ export class ClientApi {
// Please do not modify this message
console.log("[Share]", messages, msgs);
//
// Lấy cấu hình client
const clientConfig = getClientConfig();
@@ -235,7 +235,7 @@ export class ClientApi {
// Xử lý phản hồi và trả về link chia sẻ
const resJson = await res.json();
console.log("[Share]", resJson);
// console.log("[Share]", resJson);
if (resJson.id) {
return `https://shareg.pt/${resJson.id}`;
}
@@ -326,6 +326,8 @@ export function getHeaders(ignoreHeaders: boolean = false) {
? accessStore.iflytekApiKey + ":" + accessStore.iflytekApiSecret
: ""
: accessStore.openaiApiKey;
console.log("apiKey:", apiKey);
return {
isGoogle,
isAzure,