|
@@ -24,6 +24,7 @@ import {
|
|
|
import { getClientConfig } from "@/app/config/client";
|
|
import { getClientConfig } from "@/app/config/client";
|
|
|
import { getMessageTextContent } from "@/app/utils";
|
|
import { getMessageTextContent } from "@/app/utils";
|
|
|
import { RequestPayload } from "./openai";
|
|
import { RequestPayload } from "./openai";
|
|
|
|
|
+import { fetch } from "@/app/utils/stream";
|
|
|
|
|
|
|
|
export class MoonshotApi implements LLMApi {
|
|
export class MoonshotApi implements LLMApi {
|
|
|
private disableListModels = true;
|
|
private disableListModels = true;
|