Resolution Search
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 静か
- 技術スタック
- nextjs, react, typescript
- 領域
- ai, api, authentication, backend, search
調査の方向性
まず、ログで言及されている updateDrawingContext、getSystemPrompt、onSetAIState、および Researcher の画像パイプラインを追跡しながら、Resolution Search のリクエストを繰り返し再現します。x.ai リクエストと Vercel のランタイム動作を確認します。検索が更新され続けたり、最初のリクエスト後に失敗したり、無効な画像エラーを返したり、60秒のタイムアウトに達したりしなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Sometimes the page refreshes or sometimes only the first one works and subsequent ones are not.
Here are the error logs
2026-06-26 12:19:14.558 [error] updateDrawingContext: Invalid or missing user ID.
2026-06-26 12:19:06.562 [info] Chat DB actions loaded. Ensure getCurrentUserId() is correctly implemented for server-side usage if applicable.
2026-06-26 12:19:06.567 [error] updateDrawingContext: Invalid or missing user ID.
2026-06-26 12:18:55.374 [info] File extraction: { exists: false, name: undefined, type: undefined, size: undefined }
2026-06-26 12:18:55.374 [info] Historical messages image filter: { filteredImagesCount: 0, retainedImagesCount: 1, totalMessages: 2 }
2026-06-26 12:18:55.374 [info] messageParts structure: { parts: [ { type: 'text', length: 94 } ], hasImage: false }
2026-06-26 12:18:55.374 [info] Final content structure: {
hasImage: false,
contentType: 'string',
isArray: false,
partsCount: 'N/A'
}
2026-06-26 12:18:55.374 [error] getSystemPrompt: Error: Error: Failed query: select "system_prompt" from "users" where "users"."id" = $1 limit $2
params: anonymous,1
at g.queryWithCache (.next/server/chunks/3278.js:48:15741)
at async (.next/server/chunks/3278.js:1:46409) {
query: 'select "system_prompt" from "users" where "users"."id" = $1 limit $2',
params: [Array],
[cause]: TypeError: Cannot read properties of undefined (reading 'searchParams')
at (.next/server/chunks/3278.js:1:46627)
at g.queryWithCache (.next/server/chunks/3278.js:48:15722)
at (.next/server/chunks/3278.js:1:46586)
at Object.startActiveSpan (.next/server/chunks/3278.js:48:41089)
}
2026-06-26 12:18:55.380 [error] onSetAIState: User not authenticated. Chat not saved.
2026-06-26 12:18:55.845 [error] Error [AI_APICallError]: Downloaded response does not contain a valid JPG, PNG, WebP, or ICO image.
at (.next/server/chunks/4234.js:50:5082)
at async tn (.next/server/chunks/4234.js:50:3937)
at async ty.doGenerate (.next/server/chunks/4234.js:50:11106)
at async fn (.next/server/chunks/5070.js:108:10911)
at async (.next/server/chunks/5070.js:104:6650)
at async I1 (.next/server/chunks/5070.js:104:4465)
at async fn (.next/server/chunks/5070.js:108:10298)
at async (.next/server/chunks/5070.js:104:6650)
at async l (.next/server/chunks/5225.js:142:7501) {
cause: undefined,
url: 'https://api.x.ai/v1/chat/completions',
requestBodyValues: [Object],
statusCode: 400,
responseHeaders: [Object],
responseBody: '{"code":"invalid-argument","error":"Downloaded response does not contain a valid JPG, PNG, WebP, or ICO image."}',
isRetryable: false,
data: [Object]
}
2026-06-26 12:18:55.846 [info] Researcher - Image pipeline trace: {
hasImage: true,
totalMessages: 3,
messagesWithImages: 1,
lastUserMessageContentStructure: { type: 'string', isArray: false, parts: 'string' }
}
2026-06-26 12:18:38.350 [info] File extraction: { exists: false, name: undefined, type: undefined, size: undefined }
2026-06-26 12:18:38.351 [info] Historical messages image filter: { filteredImagesCount: 0, retainedImagesCount: 1, totalMessages: 2 }
2026-06-26 12:18:38.351 [info] messageParts structure: { parts: [ { type: 'text', length: 109 } ], hasImage: false }
2026-06-26 12:18:38.351 [info] Final content structure: {
hasImage: false,
contentType: 'string',
isArray: false,
partsCount: 'N/A'
}
2026-06-26 12:18:38.359 [error] getSystemPrompt: Error: Error: Failed query: select "system_prompt" from "users" where "users"."id" = $1 limit $2
params: anonymous,1
at g.queryWithCache (.next/server/chunks/3278.js:48:15741)
at async (.next/server/chunks/3278.js:1:46409) {
query: 'select "system_prompt" from "users" where "users"."id" = $1 limit $2',
params: [Array],
[cause]: TypeError: Cannot read properties of undefined (reading 'searchParams')
at (.next/server/chunks/3278.js:1:46627)
at g.queryWithCache (.next/server/chunks/3278.js:48:15722)
at (.next/server/chunks/3278.js:1:46586)
at Object.startActiveSpan (.next/server/chunks/3278.js:48:41089)
}
2026-06-26 12:18:38.361 [error] onSetAIState: User not authenticated. Chat not saved.
2026-06-26 12:18:38.827 [error] Error [AI_APICallError]: Downloaded response does not contain a valid JPG, PNG, WebP, or ICO image.
at (.next/server/chunks/4234.js:50:5082)
at async tn (.next/server/chunks/4234.js:50:3937)
at async ty.doGenerate (.next/server/chunks/4234.js:50:11106)
at async fn (.next/server/chunks/5070.js:108:10911)
at async (.next/server/chunks/5070.js:104:6650)
at async I1 (.next/server/chunks/5070.js:104:4465)
at async fn (.next/server/chunks/5070.js:108:10298)
at async (.next/server/chunks/5070.js:104:6650)
at async l (.next/server/chunks/5225.js:142:7501) {
cause: undefined,
url: 'https://api.x.ai/v1/chat/completions',
requestBodyValues: [Object],
statusCode: 400,
responseHeaders: [Object],
responseBody: '{"code":"invalid-argument","error":"Downloaded response does not contain a valid JPG, PNG, WebP, or ICO image."}',
isRetryable: false,
data: [Object]
}
2026-06-26 12:18:38.828 [info] Researcher - Image pipeline trace: {
hasImage: true,
totalMessages: 3,
messagesWithImages: 1,
lastUserMessageContentStructure: { type: 'string', isArray: false, parts: 'string' }
}
2026-06-26 12:19:38.336 [error] Vercel Runtime Timeout Error: Task timed out after 60 seconds
- 主要言語
- TypeScript
- スター
- 19
- フォーク
- 7
- 平均マージ
- 59分
- マージ済み PR(30日)
- 16
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
QueueLab/QCX のほかの issue
-
Settings オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
Collaboration オープン
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
-
Image preview Gen UI オープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
mksglu/context-mode#1200 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
jaegertracing/jaeger-ui#4506 ·
-
area:desktop area:ui bug platform:macos
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
anthropics/claude-code#96687 ·
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
AOSSIE-Org/DebateAI#582 · コメント 2 件 ·