remove legacy models and support new models

This commit is contained in:
Davidlasky
2025-04-01 17:45:33 -05:00
parent 2329d59c83
commit e30d90714b
5 changed files with 13 additions and 72 deletions

View File

@@ -71,8 +71,6 @@ const ClaudeMapper = {
system: "user",
} as const;
const keys = ["claude-2, claude-instant-1"];
export class ClaudeApi implements LLMApi {
speech(options: SpeechOptions): Promise<ArrayBuffer> {
throw new Error("Method not implemented.");

View File

@@ -197,8 +197,6 @@ export class GeminiProApi implements LLMApi {
signal: controller.signal,
headers: getHeaders(),
};
const isThinking = options.config.model.includes("-thinking");
// make a fetch request
const requestTimeoutId = setTimeout(
() => controller.abort(),