Feature request: apply streamingProfile (ttft/tps/jitter) to non-streaming responses too
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- api
Direzione di ricerca
Start by finding where streamingProfile and latency are applied on the stream: true path, then compare them with the non-streaming branch that writes the fixture response immediately. The issue names four handlers (OpenAI-shaped, Claude Messages, Bedrock invoke, Bedrock invoke-with-response-stream) and the recorded-timings replay path. Done means non-streaming responses wait ttft + length/tps with jitter, or the maintainers have agreed on an opt-in flag first.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Right now `streamingProfile` (ttft/tps/jitter) only kicks in when the request has `stream: true`. For a non-streaming request, the fixture response gets written back immediately regardless of what `streamingProfile`/`latency` is set to - checked this across the OpenAI-shaped handler, the Claude Messages handler, and the Bedrock invoke/invoke-with-response-stream handlers, same pattern in all of them.
This matters for load/perf testing agent setups where a lot of the real traffic is non-streaming on purpose - sub-agent calls, tool-chain orchestration, guardrail/classifier calls, anything that isn't a user-facing chat UI. Right now mocking those gives zero latency, which throws off any load test that's trying to reproduce realistic timing/compounding across a call tree.
Would be great if `ttft`/`tps`/`jitter` (and the recorded-timings replay path) applied the same delay math to the non-streaming branch - obviously without the per-chunk pacing, just the equivalent total delay (ttft + completion_length/tps) before writing the response.
Happy to be told this is intentional (e.g. to keep default test runs fast) but if so maybe worth a flag to opt in, since right now there's no way to get non-streaming latency simulation at all.
- Lingua principale
- TypeScript
- Stelle
- 979
- Fork
- 84
- Merge medio
- 1g 5h
- PR unite (30g)
- 58
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna 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 CopilotKit/aimock
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
CopilotKit/aimock#549 ·
I maintainer di solito rispondono entro 1 giorno
-
Feature: model-generated files (inline images) in chat/responses turnsForse già presa @abhiaiyer91 l’ha presa 3 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
CopilotKit/aimock#548 ·
I maintainer di solito rispondono entro 1 giorno
-
Feature: scriptable citations / annotations on text responsesForse già presa @abhiaiyer91 l’ha presa 3 giorni fa. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
CopilotKit/aimock#547 ·
I maintainer di solito rispondono entro 1 giorno
-
Feature request: provider-native model listing, required-header validation, and non-chat endpoints (Anthropic / Gemini)Forse già presa @jpr5 l’ha presa 8 giorni fa. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 14/100
CopilotKit/aimock#519 · 1 reazione · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Dependency DashboardAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 10/100
CopilotKit/aimock#289 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di CopilotKit/aimock
Issue simili
-
批量图谱关联的备份应排除Obsidian索引Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
logancyang/obsidian-copilot#3753 ·
I maintainer di solito rispondono entro 1 giorno
-
area: presentation severity: important
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
voithos-labs/aragonite#763 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
diegosouzapw/OmniRoute#17386 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
💡 [Feature] Add an option to hide the empty screen background illustration (Distraction-Free)Aperta
Difficoltà 2/5 Mezza giornata Idoneità per principianti 72/100
super-productivity/super-productivity#10982 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno