Commit Graph

1431 Commits

Author SHA1 Message Date
Blake Rouse df3b07e4d4 added-to-think-and-prep 2025-09-29 11:26:34 -06:00
Blake Rouse 49d12df531
Update packages/ai/src/agents/analyst-agent/analyst-agent-prompt.txt
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-09-29 11:25:39 -06:00
dal 2e8ed0ecd1
Merge pull request #1202 from buster-so/dallin-bus-1984-final-response-still-being-cut-off
Fix: wait for deltas to finish then write
2025-09-29 11:19:37 -06:00
Blake Rouse 7cd8f23ba7 revert metric-tool-description.txt to staging version 2025-09-29 11:08:58 -06:00
Wells Bunker 5165a05778
revert unneeded export types 2025-09-29 11:07:44 -06:00
dal ea1ad68a5a
Fix: wait for deltas to finish then write 2025-09-29 11:03:40 -06:00
Blake Rouse e146a83ff9 added-no-category-rule 2025-09-29 11:03:31 -06:00
Wells Bunker 09030d5d2b
migrating /chats/[id] GET endpoint to v2 2025-09-29 11:02:56 -06:00
Blake Rouse ebf10a9881 more-colorby-fix-attempts 2025-09-29 11:00:20 -06:00
Blake Rouse 68a5a4f874 i-am-playing-wack-a-mole-rn 2025-09-29 10:22:23 -06:00
dal 200ea567a7
add in type for anthropic gateway 2025-09-29 09:46:31 -06:00
dal c603ae1ebf
move additional fields back in. 2025-09-29 09:38:49 -06:00
dal 93f49f03db
Fix: Bedrock caches differently than anthropic 2025-09-29 08:52:51 -06:00
dal 9e6e4fa608
increase truncation and smart json processing 2025-09-27 15:39:45 -06:00
dal 42be80b773
increase truncation and smart json processing 2025-09-27 15:39:21 -06:00
Blake Rouse 1e7aff5876 added-colorby-instruction-to-system-prompts 2025-09-27 07:14:53 -06:00
Nate Kelley c5cde1fd78
Update linting formatting 2025-09-27 00:53:48 -06:00
dal c5e6d8bef5
fix prompt 2025-09-26 23:41:35 -06:00
dal e248fa63f9
fix on cutoff response messages 2025-09-26 23:13:31 -06:00
Nate Kelley afef2616ba
Merge branch 'staging' into big-nate-bus-1830-ability-to-apply-color-theme-by-a-category 2025-09-26 16:26:29 -06:00
dal 881802883c
build fix 2025-09-26 15:25:25 -06:00
dal 310c7362e7
lint 2025-09-26 15:04:45 -06:00
dal 5ed6bdffbd
Merge pull request #1190 from buster-so/report-sequential-writes
Report sequential writes
2025-09-26 14:53:26 -06:00
dal 3dc00c4a8b
fix tests 2025-09-26 14:42:31 -06:00
dal 1f45f91412
update report race condition 2025-09-26 14:33:51 -06:00
dal e35bfbe9ae
Merge remote-tracking branch 'origin/staging' into report-sequential-writes 2025-09-26 13:47:12 -06:00
wellsbunk5 c105a94738
Merge pull request #1185 from buster-so/wells-bus-1965-update-frontend-to-use-password-for-public-access-when-it-is
Wells bus 1965 update frontend to use password for public access when it is
2025-09-26 13:43:12 -06:00
dal d6cc1f38d1
hotfix - streaming rd 2 2025-09-26 13:35:35 -06:00
dal 83e7076479
report tooling 2025-09-26 13:29:24 -06:00
Wells Bunker e2cbb9d5a2
Merge branch 'staging' of https://github.com/buster-so/buster into wells-bus-1965-update-frontend-to-use-password-for-public-access-when-it-is 2025-09-26 13:23:12 -06:00
Wells Bunker a6a9fedc30
Throwing correct public access errors and setting cache for password 2025-09-26 13:18:31 -06:00
dal ecbe98099c
linting updates 2025-09-26 13:01:15 -06:00
dal 0b17429e10
streaming fix - need to wait for pending updates 2025-09-26 12:59:48 -06:00
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 07befc89a6
index eexport 2025-09-26 10:33:07 -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 6fafd732be
expot 2025-09-26 10:32:06 -06:00
dal c427f5ae78
get asset latest version 2025-09-26 10:31:42 -06:00
dal af243099ea
try again 2025-09-26 10:24:39 -06:00
Wells Bunker f47bfe2418
fix bug on processing array input for DELETE approved-domains 2025-09-26 10:22:14 -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
Wells Bunker aed9732302
adding optional password on metric_file/[id]/data endpoint 2025-09-26 09:41:14 -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
Nate Kelley 2fc4ec1925
Add rust fix 2025-09-25 22:33:32 -06:00
Nate Kelley 3c11dbf291
lint fixes 2025-09-25 22:26:42 -06:00
Nate Kelley efe668c405
start adding color by drag and drop 2025-09-25 22:10:12 -06:00
Nate Kelley 519f48929f
added different colorBy config 2025-09-25 21:29:36 -06:00
Nate Kelley 1ac26de837
Merge branch 'staging' into big-nate-bus-1830-ability-to-apply-color-theme-by-a-category 2025-09-25 21:07:23 -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
Wells Bunker 32705b3048
fixing public access for metric_files/data 2025-09-25 17:43:29 -06:00
Nate Kelley b62e66f64a
Merge branch 'staging' into big-nate-bus-1830-ability-to-apply-color-theme-by-a-category 2025-09-25 17:06:55 -06:00
Blake Rouse 600fabc144 hot-fixes-baby 2025-09-25 16:26:30 -06:00
wellsbunk5 dadfd87dbf
Merge pull request #1148 from buster-so/wells-bus-1906-report-should-send-metrics
adding metrics to reports/[id] endpoint
2025-09-25 12:54:22 -06:00
dal aa6523f8e5
fix prompts add tests 2025-09-25 12:52:06 -06:00
Wells Bunker 2d2a0f1476
adding metrics to reports/[id] endpoint 2025-09-25 12:46:39 -06:00
dal afe66b43d9
generate chat title to haiku 2025-09-25 12:37:19 -06:00
Nate Kelley 63e374e422
Merge pull request #1145 from buster-so/nate/better-table-copy-paste
Nate/better table copy paste
2025-09-25 12:21:44 -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
Nate Kelley dae01a103c
remove throw pages 2025-09-25 11:54:52 -06:00
wellsbunk5 d3e480b133
Merge pull request #1144 from buster-so/wells-bus-1849-migrate-frontend-to-use-v2chats-get-endpoint
migrate /chats to use the v2 endpoint from the frontend
2025-09-25 11:53:20 -06:00
Wells Bunker 7bcae1e5d5
migrate /chats to use the v2 endpoint from the frontend 2025-09-25 11:44:35 -06:00
Blake Rouse 4e322f2eed
Merge pull request #1143 from buster-so/time-frame-label-hot-fixes
metric-time-frame-hot-fixes
2025-09-25 11:42:07 -06:00
Blake Rouse 2ecb1f5a2d metric-time-frame-hot-fixes 2025-09-25 11:38:09 -06:00
Nate Kelley bf1b08344c
table content copy 2025-09-25 11:18:44 -06:00
Nate Kelley 113da029fe
Merge branch 'wells-bus-1945-search-endpoint-should-include-updated-at' into big-nate-bus-1935-copying-project-ids-from-buster-reports-results-in-empty 2025-09-25 10:28:56 -06:00
Nate Kelley 9b35106a71
switch search endpoint 2025-09-25 10:28:10 -06:00
Wells Bunker 2960aa58bb
adding updatedAt to the search endpoint 2025-09-25 10:26:26 -06:00
Nate Kelley 6309dff5f7
Merge pull request #1133 from buster-so/big-nate-bus-1933-negative-data-being-drawn-outside-of-chart
Big nate bus 1933 negative data being drawn outside of chart
2025-09-24 22:04:05 -06:00
dal 446a32f6b6
Revert "merge"
This reverts commit fb6edc3c8d, reversing
changes made to af7b1fe329.
2025-09-24 21:43:54 -06:00
dal d0df2ab3db
Merge pull request #1129 from buster-so/dallin-bus-1930-modifying-metrics-from-an-existing-report
version on report file cache
2025-09-24 21:41:02 -06:00
dal fb6edc3c8d
merge 2025-09-24 21:35:50 -06:00
dal 9d21f7cad0
fixes 2025-09-24 21:33:11 -06:00
Nate Kelley 678ee78e84
move dashboard config to the server 2025-09-24 19:44:14 -06:00
Wells Bunker 8edd2cc862
test 2025-09-24 17:43:25 -06:00
Nate Kelley 299ed5d697
move supabase start to its own commands 2025-09-24 16:38:15 -06:00
Wells Bunker 7d89a6f82d
test 2025-09-24 16:34:52 -06:00
dal 2a8923374a
version on report file cache 2025-09-24 16:09:06 -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
wellsbunk5 134fd2d987
Merge pull request #1125 from buster-so/wells-bus-1926-fix-report_file-get-endpoint-to-return-correct-permission-on
Get correct permission for report_file
2025-09-24 14:41:16 -06:00
Wells Bunker 5c9d47a082
Get correct permission for report_file 2025-09-24 14:32:50 -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
wellsbunk5 e816fad04b
Merge pull request #1117 from buster-so/wells-bus-1921-make-permission-look-for-public
check for public permissions on any check
2025-09-24 13:50:37 -06:00
Wells Bunker 68043841b3
tests 2025-09-24 13:42:45 -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
dal a538afe3dd
Merge pull request #1118 from buster-so/jacob-bus-1922-dbinit-seed-script-is-broken
Attempted fix for seed script
2025-09-24 13:26:38 -06:00
jacob-buster a94cb541a1 Attempted fix for seed script 2025-09-24 13:20:25 -06:00
Wells Bunker df07d9fdba
merge staging 2025-09-24 13:19:03 -06:00
Wells Bunker 9927808704
check for public permissions on any check 2025-09-24 13:17:08 -06:00
Wells Bunker 8b981a47f6
remove extra file 2025-09-24 12:35:04 -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
dal dbc1e7faf7
pull in staging turbo files 2025-09-24 07:08:22 -06:00
dal 8cb38428fe
Merge remote-tracking branch 'origin/staging' into dallin-bus-1864-staging-env-setup 2025-09-24 06:13:20 -06:00
Nate Kelley d539d7e190
added double check for root turbo.json 2025-09-23 22:50:36 -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
dal 0ea0b103f7
turborepo build 2025-09-23 17:13:44 -06:00
Nate Kelley 7458b0c227
Merge branch 'staging' into big-nate-bus-1891-tables-on-reports-should-hug-rows-have-a-max-height 2025-09-23 16:33:53 -06:00
Nate Kelley 615a261f57
set default quarter 2025-09-23 16:27: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
Wells Bunker b4fb66bc62
fix migration 2025-09-23 16:06:53 -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 8c6ef49415
Merge pull request #1087 from buster-so/quick-prompt-changes
date truncation and sign in page update
2025-09-23 15:38:43 -06:00
Blake Rouse 2858a3dfd5 date truncation and sign in page update 2025-09-23 15:31:25 -06:00
dal 77f6b41331
Merge pull request #1085 from buster-so/dallin-bus-1898-metric-download-endpoint-should-accept-report-id
dallin bus 1898 metric download endpoint should accept report id
2025-09-23 15:27:36 -06:00
dal edd1de9f34
metric download query params for report_file_id and metric_version_number 2025-09-23 15:13:38 -06:00
wellsbunk5 55c68720bb
Merge pull request #1082 from buster-so/fixSlackUrlBuilder
Fix the url builder for slack messages to have correct route
2025-09-23 14:38:39 -06:00
Wells Bunker 2b6cdbe476
Fix the url builder for slack messages to have correct route 2025-09-23 14:29:57 -06:00
dal b5041606cd
Merge remote-tracking branch 'origin/big-nate-bus-1895-unify-download-csv-with-the-5000-records-logic' into dallin-bus-1898-metric-download-endpoint-should-accept-report-id 2025-09-23 14:04:56 -06:00
Nate Kelley 6d4f293a2f
download data query params 2025-09-23 13:41:17 -06:00
Nate Kelley d9cde77d0f
download params 2025-09-23 13:35:36 -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
Nate Kelley 0fd7ef7d53
Merge pull request #1069 from buster-so/nate/start-commands
Add turbo start commands
2025-09-23 11:18:48 -06:00
Nate Kelley 87a515a95f
add supabase app to workspace 2025-09-23 11:06:12 -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
Nate Kelley 57711b146b
move supabase to be an app 2025-09-23 09:52:33 -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
jacob-buster 912e09eb14 Repushing hardcoded data fix 2025-09-23 09:42:19 -06:00
dal eeeec56bae
Add in more tests and catch multiple report metric files 2025-09-23 09:31:43 -06:00
Blake Rouse 1bd582b5ff Update create-reports-tool investigation description 2025-09-23 08:51:18 -06:00
Blake Rouse 7ce07c98ea Update think-and-prep-agent investigation prompt 2025-09-23 08:48:35 -06:00
Blake Rouse 1977d50a8b Merge remote-tracking branch 'origin/staging' into feature/update-create-reports-tool-prompts 2025-09-23 08:42:36 -06:00
Blake Rouse 61f7743d19 Update agent prompts and tool descriptions for improved report creation
- Enhanced analyst agent prompt with better structured analysis guidance
- Improved think-and-prep agent investigation prompt for more thorough data exploration
- Updated create-reports-tool descriptions for clearer functionality and usage
2025-09-23 08:36:46 -06:00
wellsbunk5 48b0c5adb4
Merge pull request #1049 from buster-so/wells-bus-1827-add-messages-back-into-the-v2-search
Wells bus 1827 add messages back into the v2 search
2025-09-22 17:25:36 -06:00