Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Keep Jev answer confidence for OpenRouter evaluation models in Vercel AI

オープン 初心者向け
#24,860 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

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

調査の方向性

packages/server-utils/src/integrations/vercel-ai/vercel-ai-dc-subscriber.ts から始め、issue で説明されている providerMetadata の形状と併せて withProviderConfidence を調べてください。OpenRouter の評価回答で、既存の typesafe-ai の動作と一致する形で confidence と legend が gen_ai.output.messages に保持されることを確認してください。

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

説明

Vercel AI experimental_evaluate with openrouter.evaluationModel('typesafe/jev-1.13') (@openrouter/ai-sdk-provider 3.1.0) gives an evaluate span, but the answers in gen_ai.output.messages lose confidence and legend.

The OpenRouter provider moves these fields into providerMetadata.openrouter.answers[<question id>] ({ confidence, legend }). Our withProviderConfidence in packages/server-utils/src/integrations/vercel-ai/vercel-ai-dc-subscriber.ts only reads providerMetadata.typesafe.confidence, which is the shape of @ai-sdk/typesafe-ai.

Expected

Evaluate answers from the OpenRouter provider keep confidence (choice, score) and legend (score), the same as answers from @ai-sdk/typesafe-ai.

Notes

  • OpenRouter also sends providerMetadata.openrouter.usage.cost and provider. We could record these too, but they are optional.
  • Related: Vercel AI experimental_evaluate (getsentry/sentry-javascript#24694).
主要言語
TypeScript
スター
8.8k
フォーク
1.9k
平均マージ
2日 4分
マージ済み PR(30日)
545

環境構築

はじめの一歩

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

getsentry/sentry-javascript のほかの issue

getsentry/sentry-javascript の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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