🔎 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

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() {