diff --git a/api/app/clients/tools/structured/TraversaalSearch.js b/api/app/clients/tools/structured/TraversaalSearch.js index 5de60b8200..e8ceeda134 100644 --- a/api/app/clients/tools/structured/TraversaalSearch.js +++ b/api/app/clients/tools/structured/TraversaalSearch.js @@ -25,7 +25,7 @@ class TraversaalSearch extends Tool { ), }); - this.apiKey = fields?.apiKey ?? this.getApiKey(); + this.apiKey = fields?.TRAVERSAAL_API_KEY ?? this.getApiKey(); } getApiKey() {