BaseAF CLI Error: New Pipe without a description

Open
#154 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
55/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
typescript
Domain
cli

Research direction

Start by running pnpm baseai pipe and answering the prompts with an empty description. Trace the CLI entry point that generates the new pipe configuration, then verify that leaving the description blank produces valid output without the description: , syntax error.

Written by the indexing model from the issue text.

Description

Description

Error is do not provide a description when using CLI for a new pipe:

ℹ ERROR STACK ↓ 
 SyntaxError: Expression expected. (7:18)
   5 |  apiKey: process.env.LANGBASE_API_KEY!,
   6 |     name: 'ai-answer',
>  7 |     description: ,
     |                  ^
   8 |     status: 'private',
   9 |     model: 'openai:gpt-4o-mini',
  10 |     stream: true,

Steps

  • pnpm baseai pipe

When answering CLI prompts, leave description blank (the placeholder isn't used)

Code example

No response

Additional context

No response

Dominant language
TypeScript
Stars
1.3k
Forks
112
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CommandCodeAI/BaseAI

All issues in CommandCodeAI/BaseAI

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.