Send the conversation id as agent-session-id on pi's model calls
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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 . _ : -).
- Lingua principale
- Go
- Stelle
- 5
- Fork
- 0
- Merge medio
- 21h 13m
- PR unite (30g)
- 53
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nebari-dev/tapas
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
nebari-dev/tapas#124 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
nebari-dev/tapas#121 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
nebari-dev/tapas#32 ·
I maintainer di solito rispondono entro 1 giorno
-
Suggest saving a memory when a chat message holds something worth rememberingForse già presa @jbouder l’ha presa oggi. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
nebari-dev/tapas#137 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 54/100
nebari-dev/tapas#136 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di nebari-dev/tapas
Issue simili
-
area: pipeline priority: low type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
prime-radiant-inc/evener#8335 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
ui: OnTextKey on SearchField never sees keys (it does not reach the inner input)Forse già presa @szluyu99 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100