Skip to content

armgit / my-yt

Public Imported from GitHub
0

A clean and minimal youtube frontend, without all the ads and whistles

JavaScript

refactor: anthropic llm provider, cleanup

Christian Fei38b14a3b0b4b
diff --git a/lib/llm/providers/anthropic.js b/lib/llm/providers/anthropic.js
index 058e335..76f94a8 100644
--- a/lib/llm/providers/anthropic.js
+++ b/lib/llm/providers/anthropic.js
@@ -13,13 +13,6 @@ export class Anthropic extends Generic {
maxTokens
}) {
super(system, args)
- this.system = system
- this.model = args.model
- this.host = args.host
- this.endpoint = args.endpoint
- this.apiKey = args.apiKey
- this.temperature = args.temperature
- this.maxTokens = args.maxTokens || MAX_TOKENS
}
getHeaders () {