Skip to content

Commit

Permalink
Fix build issues with empty lib artifacts (#5800)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 authored Jun 18, 2024
1 parent 45152b8 commit b1b4f5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/api_refs/scripts/create-entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ async function main() {
const workspaces = fs
.readdirSync("../../libs/")
.filter((dir) => dir.startsWith("langchain-"))
.map((dir) => path.join("../../libs/", dir, "/langchain.config.js"));
.map((dir) => path.join("../../libs/", dir, "/langchain.config.js"))
.filter((configPath) => fs.existsSync(configPath));
const configFiles = [
"../../langchain/langchain.config.js",
"../../langchain-core/langchain.config.js",
Expand Down
2 changes: 2 additions & 0 deletions docs/core_docs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ docs/how_to/tools_prompting.md
docs/how_to/tools_prompting.mdx
docs/how_to/tools_builtin.md
docs/how_to/tools_builtin.mdx
docs/how_to/tool_runtime.md
docs/how_to/tool_runtime.mdx
docs/how_to/tool_calls_multimodal.md
docs/how_to/tool_calls_multimodal.mdx
docs/how_to/tool_calling.md
Expand Down

0 comments on commit b1b4f5c

Please sign in to comment.