[PR #1017] [MERGED] Fix command for creating Agent Chat UI project #1222

Closed
opened 2026-02-17 17:21:58 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/1017
Author: @mcavdar
Created: 10/20/2025
Status: Merged
Merged: 10/22/2025
Merged by: @lnhsingh

Base: mainHead: patch-5


📝 Commits (2)

  • eb33664 Fix command for creating Agent Chat UI project
  • d682282 fixed js as well

📊 Changes

2 files changed (+2 additions, -2 deletions)

View changed files

📝 src/snippets/oss/ui-js.mdx (+1 -1)
📝 src/snippets/oss/ui-py.mdx (+1 -1)

📄 Description

Overview

Fixed the npx command. Previously, it failed with the following error:
error: too many arguments. Expected 0 arguments but got 1.

$ npx create-agent-chat-app --help
Usage: create-agent-chat-app [options]
Create an agent chat app with one command
Options:
  -V, --version                output the version number
  -Y, --yes                    Skip all prompts and use default values
  --project-name <name>        Name of the project (default: agent-chat-app)
  --package-manager <manager>  Package manager to use (npm, pnpm, yarn)
                               (default: yarn)
  --install-deps <boolean>     Automatically install dependencies (default:
                               true)
  --framework <framework>      Framework to use (nextjs, vite) (default: nextjs)
  --include-agent <agent...>   Pre-built agents to include (react, memory,
                               research, retrieval) (default: all)
  -h, --help                   display help for command

Type of change

Type: [bug]

Related issues/PRs

  • GitHub issue:
  • Feature PR:
  • Linear issue:
  • Slack thread:

Checklist

  • I have read the contributing guidelines
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly
  • I have used root relative paths for internal links
  • I have updated navigation in src/docs.json if needed
  • I have gotten approval from the relevant reviewers
  • (Internal team members only / optional) I have created a preview deployment using the Create Preview Branch workflow

Additional notes


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/1017 **Author:** [@mcavdar](https://github.com/mcavdar) **Created:** 10/20/2025 **Status:** ✅ Merged **Merged:** 10/22/2025 **Merged by:** [@lnhsingh](https://github.com/lnhsingh) **Base:** `main` ← **Head:** `patch-5` --- ### 📝 Commits (2) - [`eb33664`](https://github.com/langchain-ai/docs/commit/eb33664e1a456b24f64610ca4fb50c871f964444) Fix command for creating Agent Chat UI project - [`d682282`](https://github.com/langchain-ai/docs/commit/d6822825ef5f40aa86c1447bf3c1d24473fc55ca) fixed js as well ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/snippets/oss/ui-js.mdx` (+1 -1) 📝 `src/snippets/oss/ui-py.mdx` (+1 -1) </details> ### 📄 Description ## Overview Fixed the npx command. Previously, it failed with the following error: `error: too many arguments. Expected 0 arguments but got 1.` ``` $ npx create-agent-chat-app --help Usage: create-agent-chat-app [options] Create an agent chat app with one command Options: -V, --version output the version number -Y, --yes Skip all prompts and use default values --project-name <name> Name of the project (default: agent-chat-app) --package-manager <manager> Package manager to use (npm, pnpm, yarn) (default: yarn) --install-deps <boolean> Automatically install dependencies (default: true) --framework <framework> Framework to use (nextjs, vite) (default: nextjs) --include-agent <agent...> Pre-built agents to include (react, memory, research, retrieval) (default: all) -h, --help display help for command ``` ## Type of change **Type:** [bug] ## Related issues/PRs <!-- Link to related issues, feature PRs, or discussions (if applicable) To automatically close an issue when this PR is merged, use closing keywords: - "closes #123" or "fixes #123" or "resolves #123" For regular references without auto-closing, just use: - "#123" or "See issue #123" Examples: - closes #456 (will auto-close issue #456 when PR is merged) - See #789 for context (will reference but not auto-close issue #789) --> - GitHub issue: - Feature PR: <!-- For LangChain employees, if applicable: --> - Linear issue: - Slack thread: ## Checklist <!-- Put an 'x' in all boxes that apply --> - [x] I have read the [contributing guidelines](README.md) - [x] I have tested my changes locally using `docs dev` - [x] All code examples have been tested and work correctly - [ ] I have used **root relative** paths for internal links - [ ] I have updated navigation in `src/docs.json` if needed - I have gotten approval from the relevant reviewers - (Internal team members only / optional) I have created a preview deployment using the [Create Preview Branch workflow](https://github.com/langchain-ai/docs/actions/workflows/create-preview-branch.yml) ## Additional notes <!-- Any other information that would be helpful for reviewers --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-17 17:21:58 -05:00
yindo closed this issue 2026-02-17 17:21:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#1222