🔎 fix(Traversaal): Recognize authField during Tool Initialization

This commit is contained in:
Danny Avila 2024-03-06 10:59:00 -05:00 committed by GitHub
parent 959d6153f6
commit 2733c5ebe7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,7 +25,7 @@ class TraversaalSearch extends Tool {
), ),
}); });
this.apiKey = fields?.apiKey ?? this.getApiKey(); this.apiKey = fields?.TRAVERSAAL_API_KEY ?? this.getApiKey();
} }
getApiKey() { getApiKey() {