Skip to content

Commit

Permalink
fix(ci): Fix cf-workers export test (#6738)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 authored Sep 11, 2024
1 parent 1010d1c commit a8ff65d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion environment_tests/test-exports-cf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
},
"dependencies": {
"@langchain/anthropic": "workspace:*",
"@langchain/community": "workspace:*",
"@langchain/core": "workspace:*",
"@langchain/openai": "workspace:*",
"@tsconfig/recommended": "^1.0.2",
Expand Down
4 changes: 0 additions & 4 deletions environment_tests/test-exports-cf/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import {
} from "@langchain/core/prompts";
import { OpenAI } from "@langchain/openai";
import { OpenAIEmbeddings } from "@langchain/openai";
import { CSVLoader } from "@langchain/community/document_loaders/fs/csv";

export interface Env {
OPENAI_API_KEY?: string;
Expand Down Expand Up @@ -51,9 +50,6 @@ export default {
new OpenAI(constructorParameters);
const emb = new OpenAIEmbeddings(constructorParameters);

// Test a document loader
new CSVLoader(new Blob(["a,b,c\n1,2,3\n4,5,6"]));

// Test a chain + prompt + model
const chain = new LLMChain({
llm: new ChatOpenAI(constructorParameters),
Expand Down

0 comments on commit a8ff65d

Please sign in to comment.