-
Notifications
You must be signed in to change notification settings - Fork 68
perf: reduce chat latency — dedup, prewarm, parallelism, caching #533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 18 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
0e6cc39
Add latency instrumentation for K8s chat debugging
OlivierTrudeau d0ee132
Fix UnboundLocalError in process_stream latency logging
OlivierTrudeau 48da826
timing slack
OlivierTrudeau 265d7e3
perf: optimize hot-path latency (Bedrock cache, worker singleton, par…
OlivierTrudeau 9e4f27e
perf: parallelize guardrails check_input with agentic_tool_flow setup
OlivierTrudeau 80ff79e
e
OlivierTrudeau e3fa880
lifecycle
OlivierTrudeau 73e5562
another fix
OlivierTrudeau 2b55744
dedup
OlivierTrudeau 2a3c7a8
prewarm
OlivierTrudeau 9db75c4
fix: cleanup latency PR — synchronous prewarm, remove debug logs, fix…
OlivierTrudeau 044d8f4
fix: address PR review comments
OlivierTrudeau 91c2115
revert: remove Bedrock client cache (prod uses OpenRouter)
OlivierTrudeau 035ec27
cleanup: remove startup env/DNS logging and POD_NAME/NODE_NAME envs
OlivierTrudeau c7aa880
cleanup: remove delete_last_saved_message rollback
OlivierTrudeau 887e36c
fix: address remaining PR review comments
OlivierTrudeau d3aef04
fix: final CodeRabbit review items
OlivierTrudeau 480b435
chore: strip all [LATENCY] instrumentation logging
OlivierTrudeau 0ea1554
refactor: minimize cloud_tools diff to functional changes only
OlivierTrudeau 7bb3af1
Merge remote-tracking branch 'origin/main' into feat/latency-instrume…
OlivierTrudeau 06de116
address Ben comments
OlivierTrudeau 87488f9
j
OlivierTrudeau fa09c93
k
OlivierTrudeau a1c5be3
fix ci
OlivierTrudeau File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.