mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-24 14:40:22 +09:00
修改: app/client/platforms/bedrock.ts
This commit is contained in:
parent
58837f6dec
commit
f532731e2a
@ -1,12 +1,5 @@
|
|||||||
import { ApiPath } from "../../constant";
|
import { ApiPath } from "../../constant";
|
||||||
import {
|
import { ChatOptions, getHeaders, LLMApi, SpeechOptions } from "../api";
|
||||||
ChatOptions,
|
|
||||||
getHeaders,
|
|
||||||
LLMApi,
|
|
||||||
LLMModel,
|
|
||||||
LLMUsage,
|
|
||||||
SpeechOptions,
|
|
||||||
} from "../api";
|
|
||||||
import {
|
import {
|
||||||
useAppConfig,
|
useAppConfig,
|
||||||
usePluginStore,
|
usePluginStore,
|
||||||
@ -289,10 +282,13 @@ export class BedrockApi implements LLMApi {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
usage(): Promise<LLMUsage> {
|
async usage() {
|
||||||
throw new Error("Method not implemented.");
|
return {
|
||||||
|
used: 0,
|
||||||
|
total: 0,
|
||||||
|
};
|
||||||
}
|
}
|
||||||
models(): Promise<LLMModel[]> {
|
async models() {
|
||||||
throw new Error("Method not implemented.");
|
return [];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user