Commit Graph

631 Commits

Author SHA1 Message Date
dal aa6fbfd437
streaming fix on non done tool responses 2025-09-26 10:47:04 -06:00
dal f0686fa54e
Merge pull request #1169 from buster-so/dallin-bus-1938-report-needs-to-cascade-up-if-metric-modified
sql dialect and tool deltas
2025-09-26 10:41:42 -06:00
dal c98e4a0e7b
Merge pull request #1174 from buster-so/memory-optimization-tools-cleanup
feat: add memory optimization for AI tools and LRU cache
2025-09-26 10:32:43 -06:00
dal af243099ea
try again 2025-09-26 10:24:39 -06:00
dal 408caf5642
Merge remote-tracking branch 'origin/staging' into dallin-bus-1938-report-needs-to-cascade-up-if-metric-modified 2025-09-26 10:17:44 -06:00
dal 6d6c531d5c
fix most recent version on the chat 2025-09-26 10:15:52 -06:00
dal d7eab3023c
lint fixes 2025-09-26 10:06:14 -06:00
Blake Rouse 014c39e1d0 edited-final-todo-item 2025-09-26 10:04:42 -06:00
dal de01a39c5c
feat: add memory optimization for AI tools and LRU cache
- Add cleanupState helper to clear tool state after execution
- Update all tool execute functions to clean up state after completion
- Reduce LRU cache from 500 to 10 entries (90% memory reduction)
- Extend cache TTL to 20 minutes for long-running streams
- Prevent memory leaks during 15-minute streaming sessions

This significantly reduces memory usage during long AI streaming sessions
by ensuring tool states are cleared after execution and limiting cache size.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-26 10:02:49 -06:00
dal 87017115ba
sql dialect and tool deltas 2025-09-26 09:06:03 -06:00
Blake Rouse 45d3d8a027 python-limitation-removed 2025-09-26 08:02:01 -06:00
dal c0ca22ad8c
Merge remote-tracking branch 'origin/staging' into dallin-bus-1937-the-createmetrics-and-createreports-tool-calls-are-in-an 2025-09-25 18:38:52 -06:00
dal 8f314268e3
fixed the streaming loading infinite state 2025-09-25 18:38:46 -06:00
Blake Rouse 600fabc144 hot-fixes-baby 2025-09-25 16:26:30 -06:00
dal aa6523f8e5
fix prompts add tests 2025-09-25 12:52:06 -06:00
dal afe66b43d9
generate chat title to haiku 2025-09-25 12:37:19 -06:00
Blake Rouse 8b8b681a38 added-to-other-system-prompts 2025-09-25 12:14:11 -06:00
Blake Rouse d803233402 hot-fixes-for-combo-charts 2025-09-25 12:11:51 -06:00
Blake Rouse 2ecb1f5a2d metric-time-frame-hot-fixes 2025-09-25 11:38:09 -06:00
Wells Bunker 9a046f7911
add metadata to generate suggested prompts 2025-09-24 15:10:11 -06:00
dal e46da44445
make bedrock first choice then anthropic then vertex 2025-09-24 14:49:39 -06:00
dal 2e4e4a34ba
Merge pull request #1122 from buster-so/dallin-bus-1925-metric-file-sneaks-into-responses
fix metric sneaking in
2025-09-24 14:10:37 -06:00
dal d29f077bdf
fix metric sneaking in 2025-09-24 13:58:23 -06:00
dal a29e6463cf
Merge pull request #1116 from buster-so/dallin-bus-1886-another-overloaded-error
Dallin-bus-1886-another-overloaded-error
2025-09-24 13:28:28 -06:00
Wells Bunker 020f0eae5b
fix default_openai_options 2025-09-24 12:31:57 -06:00
dal 8ff67d62f2
better error handling and logging on streams 2025-09-24 09:53:55 -06:00
dal 030d355f87
Merge pull request #1105 from buster-so/dallin-bus-1910-streaming-broke-towards-the-end-of-its-research
Potential fix on report stream being cut early
2025-09-24 08:01:02 -06:00
dal 89813ef82e
Potential fix on report stream being cut early 2025-09-24 07:50:48 -06:00
dal 08a026189c
Merge pull request #1104 from buster-so/dallin-bus-1894-chats-are-returning-all-individual-metrics-that-were-saved
Fix on metrics being sent up in response messages
2025-09-24 07:46:19 -06:00
dal a2d64ec754
Fix on metrics being sent up in response messages 2025-09-24 07:35:42 -06:00
Nate Kelley de54e28f2e
Added output for the builds 2025-09-23 22:40:45 -06:00
Nate Kelley 6748819e39
error handling for auth login 2025-09-23 21:06:40 -06:00
Blake Rouse 804a90ca23
Merge pull request #1093 from buster-so/key-finding-llm-tweak
Key finding llm tweak
2025-09-23 16:15:45 -06:00
Blake Rouse f44d809a53 key finding titles hot fix 2025-09-23 16:13:06 -06:00
Blake Rouse fed8f3082c Update create-reports-tool standard description for key finding LLM tweak 2025-09-23 16:12:11 -06:00
Blake Rouse c81c11a374
Merge pull request #1089 from buster-so/todo-list-fixes
Help todo list not freak out on ridge-type requests
2025-09-23 15:50:18 -06:00
Blake Rouse b7edce50d1 Help todo list not freak out on ridge-type requests 2025-09-23 15:45:08 -06:00
Nate Kelley 55394967a5
Merge pull request #1070 from buster-so/jacob-bus-1829-100-stacked-bar-chart-isnt-formatted-correctly
If the Y-axis is a % for a stacked chart, auto flip it to a percentag…
2025-09-23 15:43:19 -06:00
Blake Rouse 2858a3dfd5 date truncation and sign in page update 2025-09-23 15:31:25 -06:00
Blake Rouse f5042896ed Update analyst agent prompt and metric tool description 2025-09-23 13:15:54 -06:00
Nate Kelley 523601b8c5
Merge branch 'staging' into quick-prompt-changes 2025-09-23 13:01:47 -06:00
Nate Kelley c93b2cd96e
Merge branch 'staging' into jacob-bus-1829-100-stacked-bar-chart-isnt-formatted-correctly 2025-09-23 13:01:41 -06:00
Nate Kelley e517242995
fix busted unit tests 2025-09-23 13:00:33 -06:00
Blake Rouse cc13d60d04 quick-prompt-changes 2025-09-23 12:57:20 -06:00
Blake Rouse 54f95c932f bulk-staging-changes-babyyyy 2025-09-23 12:10:07 -06:00
Blake Rouse acf67fb8e8 Update analyst agent prompt and create reports tool description 2025-09-23 11:29:04 -06:00
jacob-buster d02ef8459f If the Y-axis is a % for a stacked chart, auto flip it to a percentage-stack 2025-09-23 10:29:09 -06:00
wellsbunk5 9eae2f6507
Merge pull request #1068 from buster-so/wells-bus-1881-running-into-prompt-issues-prompt-too-long
Wells bus 1881 running into prompt issues prompt too long
2025-09-23 10:19:07 -06:00
Wells Bunker aec7443ca9
Change prestep process to use openai and filter to only user and doneTool messages 2025-09-23 10:13:28 -06:00
dal 0a45fbd1d8
Merge pull request #1067 from buster-so/jacob-bus-1750-hardcoding-values-in-metrics
Re-pushing hardcoded data fix
2025-09-23 09:49:23 -06:00