Skip to content

Commit

Permalink
chore: serpapi use default location
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobrosenthal committed Apr 12, 2023
1 parent 968c232 commit 3e247e4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion langchain/src/callbacks/tests/langchain_tracer.int.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@ test("Test LangChain tracer", async () => {
test.skip("Test Traced Agent with concurrency (skipped until we fix concurrency)", async () => {
process.env.LANGCHAIN_HANDLER = "langchain";
const model = new OpenAI({ temperature: 0 });
const tools = [new SerpAPI(), new Calculator()];
const tools = [
new SerpAPI(process.env.SERPAPI_API_KEY, {
location: "Austin,Texas,United States",
}),
new Calculator(),
];

const executor = await initializeAgentExecutor(
tools,
Expand Down

0 comments on commit 3e247e4

Please sign in to comment.