[BUG] Personality report's Groq call has no timeout

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

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

@nj-1812 がすでに取り組んでいます。

2026年12月3日 から。

  • #4039 @nj-1812 による — オープン

評価

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

説明

status:assigned

What happens

/api/personality calls groqChatCompletion without an abort signal. /api/ai-insights uses AbortSignal.timeout(15_000), but this route has no limit, so if Groq hangs the request hangs until the platform kills it, and the user never gets the fallback report that's built for exactly this case.

The fallback report from a failed AI call is also cached for 24 hours (same as a real AI report).

Expected

  • Same 15 s timeout as ai-insights, so a hung call falls back to the templated report.
  • Cache the fallback only briefly when the AI call failed.

Where

src/app/api/personality/route.ts

I'd like to work on this.

主要言語
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 を短くまとめたダイジェスト。