|
|
@@ -13,6 +13,7 @@ import {
|
|
|
} from "@fortaine/fetch-event-source";
|
|
|
import { prettyObject } from "@/app/utils/format";
|
|
|
import { getMessageTextContent } from "@/app/utils";
|
|
|
+import { bigModelApiKey } from "../config";
|
|
|
|
|
|
export class BigModelApi implements LLMApi {
|
|
|
path(): string {
|
|
|
@@ -64,7 +65,7 @@ export class BigModelApi implements LLMApi {
|
|
|
headers: {
|
|
|
'Content-Type': 'application/json',
|
|
|
// APIKey
|
|
|
- Authorization: '20480a1ad76c4d9e0a168206a25f9614.bUjEVNXHpgY0H0GH'
|
|
|
+ Authorization: bigModelApiKey
|
|
|
},
|
|
|
};
|
|
|
|