fix: use tauri fetch

This commit is contained in:
Dogtiti
2024-10-16 21:57:07 +08:00
parent 463fa743e9
commit deb1e76c41
3 changed files with 3 additions and 0 deletions

View File

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