[BUG] AI personality report is lost when the AI adds text around the JSON

オープン
#4,041 コメント 3 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Sakshamebdev873 がすでに取り組んでいます。

2026年12月3日 から。

  • #4047 @Sakshamebdev873 による — オープン

評価

この issue はまだ評価されていません。

説明

status:assigned

The AI personality report often shows the basic (non-AI) report even when the AI replied fine.

Problem

  • The route only strips ``` fences before JSON.parse. If the AI adds a line like "Here's your report:" before or after the JSON, parsing fails and the AI report is lost.
  • Fields are not checked properly: empty strengths or non-text values (shown as [object Object]) get through.
  • This parsing has no tests.

Fix
Pull the JSON out of the reply properly, check each field, and add tests.

(The timeout and 24h cache problems are handled separately in #4035 / #4039.)

主要言語
TypeScript
スター
246
フォーク
436
平均マージ
9時間 33分
マージ済み PR(30日)
213

環境構築

はじめの一歩

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

Priyanshu-byte-coder/devtrack のほかの issue

Priyanshu-byte-coder/devtrack の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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