Send the conversation id as agent-session-id on pi's model calls
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with internal/chatbridge/pi.go:42 to see how Tapas passes the conversation id to pi, then inspect pi’s javo provider configuration and extension options for request headers. Follow one model call to Tapas’s agent endpoint and check whether a fixed agent-session-id reaches the proxy before investigating per-session headers and what Claude Code sends. Done means model calls carry the conversation id and it meets the stated character and length checks.
索引モデルが issue の本文から書いたものです。
説明
We're adding OpenTelemetry tracing to model calls that go through the LLM serving pack's gateway (nebari-dev/llm-serving-pack#315). Envoy AI Gateway maps an agent-session-id request header to session.id on its spans, which is how every model call from one conversation gets tied together in Grafana. Separately, Tapas's agent proxy will start passing a checked agent-session-id through to the provider when the agent sends one.
No agent sends it today. The chat bridge already starts pi with the conversation id as --session-id (internal/chatbridge/pi.go:42), so pi knows the value. It just doesn't put it on its model calls to the javo provider.
What we need
- pi sends the conversation id as
agent-session-idon every chat completions call to Tapas's agent endpoint. - We need to work out whether pi's provider config or one of its extensions can set a per-session header, and what Claude Code would send, if anything.
First check
Set a fixed header on pi's javo provider in a workspace pod and confirm it reaches Tapas on one request. If that works, the per-session value is the remaining piece.
Done when
- A chat in Tapas produces model calls that carry
agent-session-idequal to the conversation id. - The value passes the proxy's check (1 to 128 characters of
A-Z a-z 0-9 . _ : -).
- 主要言語
- Go
- スター
- 5
- フォーク
- 0
- 平均マージ
- 21時間 13分
- マージ済み PR(30日)
- 53
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nebari-dev/tapas のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
nebari-dev/tapas#124 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nebari-dev/tapas#121 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
nebari-dev/tapas#32 ·
メンテナーはふだん 1 日以内に返信
-
Suggest saving a memory when a chat message holds something worth remembering対応中かも @jbouder が今日担当しました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
nebari-dev/tapas#137 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 54/100
nebari-dev/tapas#136 ·
メンテナーはふだん 1 日以内に返信
nebari-dev/tapas の issue をすべて見る
似ている issue
-
area: pipeline priority: low type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
prime-radiant-inc/evener#8335 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
ui: OnTextKey on SearchField never sees keys (it does not reach the inner input)対応中かも @szluyu99 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100