BaseAF CLI Error: New Pipe without a description

オープン
#154 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
typescript
領域
cli

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
TypeScript
スター
1.3k
フォーク
112
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CommandCodeAI/BaseAI のほかの issue

CommandCodeAI/BaseAI の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。