A clean and minimal youtube frontend, without all the ads and whistles
JavaScript
chore: cleanup providers
Christian Fei5b85b68c8234
diff --git a/lib/llm/providers/anthropic.js b/lib/llm/providers/anthropic.jsindex 5740da8..76a23d0 100644--- a/lib/llm/providers/anthropic.js+++ b/lib/llm/providers/anthropic.js@@ -1,7 +1,6 @@import { Generic } from "./generic.js"const ANTHROPIC_VERSION = '2023-06-01'-const MAX_PROMPT_LEN = 10000const MAX_TOKENS = 1024export class Anthropic extends Generic {diff --git a/lib/llm/providers/generic.js b/lib/llm/providers/generic.jsindex 0a7eb2f..2808144 100644--- a/lib/llm/providers/generic.js+++ b/lib/llm/providers/generic.js@@ -7,7 +7,6 @@ export class Generic {endpoint,apiKey,temperature,- max_tokens,}) {this.system = systemthis.model = model@@ -15,7 +14,6 @@ export class Generic {this.endpoint = endpointthis.apiKey = apiKeythis.temperature = temperature- this.max_tokens = max_tokens}getHeaders () {