Skip to content

Commit

Permalink
entrypoints
Browse files Browse the repository at this point in the history
  • Loading branch information
efriis committed Oct 11, 2023
1 parent ad4201f commit cb76f6b
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 2 deletions.
1 change: 1 addition & 0 deletions environment_tests/test-exports-bun/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,4 @@ export * from "langchain/experimental/generative_agents";
export * from "langchain/experimental/plan_and_execute";
export * from "langchain/experimental/chat_models/bittensor";
export * from "langchain/evaluation";
export * from "langchain/runnables/remote";
1 change: 1 addition & 0 deletions environment_tests/test-exports-cf/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,4 @@ export * from "langchain/experimental/generative_agents";
export * from "langchain/experimental/plan_and_execute";
export * from "langchain/experimental/chat_models/bittensor";
export * from "langchain/evaluation";
export * from "langchain/runnables/remote";
1 change: 1 addition & 0 deletions environment_tests/test-exports-cjs/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,4 @@ const experimental_generative_agents = require("langchain/experimental/generativ
const experimental_plan_and_execute = require("langchain/experimental/plan_and_execute");
const experimental_chat_models_bittensor = require("langchain/experimental/chat_models/bittensor");
const evaluation = require("langchain/evaluation");
const runnables_remote = require("langchain/runnables/remote");
1 change: 1 addition & 0 deletions environment_tests/test-exports-esbuild/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,4 @@ import * as experimental_generative_agents from "langchain/experimental/generati
import * as experimental_plan_and_execute from "langchain/experimental/plan_and_execute";
import * as experimental_chat_models_bittensor from "langchain/experimental/chat_models/bittensor";
import * as evaluation from "langchain/evaluation";
import * as runnables_remote from "langchain/runnables/remote";
1 change: 1 addition & 0 deletions environment_tests/test-exports-esm/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,4 @@ import * as experimental_generative_agents from "langchain/experimental/generati
import * as experimental_plan_and_execute from "langchain/experimental/plan_and_execute";
import * as experimental_chat_models_bittensor from "langchain/experimental/chat_models/bittensor";
import * as evaluation from "langchain/evaluation";
import * as runnables_remote from "langchain/runnables/remote";
1 change: 1 addition & 0 deletions environment_tests/test-exports-vercel/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,4 @@ export * from "langchain/experimental/generative_agents";
export * from "langchain/experimental/plan_and_execute";
export * from "langchain/experimental/chat_models/bittensor";
export * from "langchain/evaluation";
export * from "langchain/runnables/remote";
1 change: 1 addition & 0 deletions environment_tests/test-exports-vite/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,4 @@ export * from "langchain/experimental/generative_agents";
export * from "langchain/experimental/plan_and_execute";
export * from "langchain/experimental/chat_models/bittensor";
export * from "langchain/evaluation";
export * from "langchain/runnables/remote";
3 changes: 3 additions & 0 deletions langchain/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,9 @@ experimental/hubs/makersuite/googlemakersuitehub.d.ts
evaluation.cjs
evaluation.js
evaluation.d.ts
runnables/remote.cjs
runnables/remote.js
runnables/remote.d.ts
index.cjs
index.js
index.d.ts
8 changes: 8 additions & 0 deletions langchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,9 @@
"evaluation.cjs",
"evaluation.js",
"evaluation.d.ts",
"runnables/remote.cjs",
"runnables/remote.js",
"runnables/remote.d.ts",
"index.cjs",
"index.js",
"index.d.ts"
Expand Down Expand Up @@ -2280,6 +2283,11 @@
"import": "./evaluation.js",
"require": "./evaluation.cjs"
},
"./runnables/remote": {
"types": "./runnables/remote.d.ts",
"import": "./runnables/remote.js",
"require": "./runnables/remote.cjs"
},
"./package.json": "./package.json"
}
}
1 change: 1 addition & 0 deletions langchain/src/load/import_map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,4 @@ export * as experimental__generative_agents from "../experimental/generative_age
export * as experimental__plan_and_execute from "../experimental/plan_and_execute/index.js";
export * as experimental__chat_models__bittensor from "../experimental/chat_models/bittensor.js";
export * as evaluation from "../evaluation/index.js";
export * as runnables__remote from "../runnables/remote.js";
2 changes: 1 addition & 1 deletion langchain/src/schema/runnable/remote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export class RemoteRunnable<
RunnableConfig[],
Omit<Partial<CallOptions>, keyof BaseCallbackConfig>[]
]
) ?? [{}, {}];
) ?? [[], []];
const response = await this.post<{
inputs: RunInput[];
config?: (RunnableConfig & RunnableBatchOptions)[];
Expand Down
3 changes: 2 additions & 1 deletion langchain/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@
"src/experimental/chat_models/bittensor.ts",
"src/experimental/llms/bittensor.ts",
"src/experimental/hubs/makersuite/googlemakersuitehub.ts",
"src/evaluation/index.ts"
"src/evaluation/index.ts",
"src/runnables/remote.ts"
],
"sort": [
"kind",
Expand Down

0 comments on commit cb76f6b

Please sign in to comment.