Skip to content

Commit 9ad0a4e

Browse files
Fix environment variable name for Google Scholar API (#1266)
Update API key environment variable reference , In credentials , environmental variable is defined like this : process.env.GOOGLE_SCHOLAR_API_KEY="your-serp-api-key" to : SERPAPI_API_KEY="your-serp-api-key"
1 parent 6a85baf commit 9ad0a4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/oss/javascript/integrations/tools/google_scholar.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ npm install @langchain/community
3131
Ensure you have the appropriate API key to access Google Scholar. Set it in your environment variables:
3232

3333
```typescript
34-
process.env.GOOGLE_SCHOLAR_API_KEY="your-serp-api-key"
34+
SERPAPI_API_KEY="your-serp-api-key"
3535
```
3636

3737
It's also helpful to set up [LangSmith](https://smith.langchain.com/) for best-in-class observability:

0 commit comments

Comments
 (0)