Commit Graph

1250 Commits

Author SHA1 Message Date
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
Wells Bunker 9d01603aca
Searchs messages and report content now 2025-09-22 17:21:04 -06:00
dal ab8db11332
blake routing changes 2025-09-22 17:10:26 -06:00
dal 1b23afc705
merge staging 2025-09-22 14:23:23 -06:00
dal 2fc673dbbe
dynamic report tool description 2025-09-22 14:22:51 -06:00
dal fc8e4ab5c6
Revert prompt changes from commit 18b4d12c0
Reverting Blake Rouse's prompt improvements from the merge commit #1029
- analyst-agent-prompt.txt
- think-and-prep-agent-investigation-prompt.txt
- think-and-prep-agent-standard-prompt.txt
- create-reports-tool-description.txt
2025-09-22 13:52:02 -06:00
wellsbunk5 483570278c
Merge pull request #1040 from buster-so/fixMetricFileCascadingPermissionsFromReports
Fix metric_file permissions not cascading from report_files
2025-09-22 13:46:13 -06:00
dal 9e0cce2c59
Merge pull request #1039 from buster-so/dallin-bus-1853-report-creation-stuck-in-progress-despite-final-response
dallin bus 1853 report creation stuck in progress despite final response
2025-09-22 13:42:31 -06:00
Wells Bunker 1646e37540
Fix metric_file permissions not cascading from report_files 2025-09-22 13:40:46 -06:00
dal 73746af9fc
Merge pull request #1038 from buster-so/dallin-bus-1872-dashboard-somehow-had-null-version-in-its-version-history
dashboard version fix
2025-09-22 13:40:38 -06:00
dal a7b307a460
report cut off fix 2025-09-22 13:38:27 -06:00
dal cb17d9b167
dashboard version fix 2025-09-22 13:35:54 -06:00
Nate Kelley 5ecf0400ed
Update storage factory test to remove r2 bucket 2025-09-22 13:21:47 -06:00
Blake Rouse 17a3e143ad Update think-and-prep-agent investigation prompt
- Further refinements to think-and-prep-agent-investigation-prompt.txt
2025-09-22 13:14:52 -06:00
Blake Rouse 3c6e99b87d Update agent prompts
- Updated analyst-agent-prompt.txt
- Updated think-and-prep-agent-investigation-prompt.txt
- Updated think-and-prep-agent-standard-prompt.txt
2025-09-22 13:12:42 -06:00
dal b8b2526348
Merge remote-tracking branch 'origin/staging' into dallin-bus-1853-report-creation-stuck-in-progress-despite-final-response 2025-09-22 13:02:29 -06:00
dal 0a430bef5b
report final update fix 2025-09-22 12:59:59 -06:00
dal 7638d1650f
change report to be single entry 2025-09-22 12:57:23 -06:00
Blake Rouse 4510ac43c7 Update create reports tool prompts and descriptions
- Split create-reports-tool-description.txt into separate standard and investigation descriptions
- Updated analyst-agent-prompt.txt
- Added create-reports-tool-investigation-description.txt for investigation-specific prompts
- Added create-reports-tool-standard-description for standard prompts
2025-09-22 12:01:52 -06:00
dal d6d5fd031d
get rid of 1m context header on chat titel 2025-09-22 11:54:09 -06:00
Blake Rouse 8c563490bc
Update packages/ai/src/agents/think-and-prep-agent/think-and-prep-agent-investigation-prompt.txt
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-09-22 10:20:35 -06:00
Blake Rouse 09554bdb93
Update packages/ai/src/tools/visualization-tools/reports/create-reports-tool/create-reports-tool-description.txt
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-09-22 10:20:27 -06:00
Blake Rouse c0c6d8ee4c
Update packages/ai/src/tools/visualization-tools/reports/create-reports-tool/create-reports-tool-description.txt
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-09-22 10:20:21 -06:00
Blake Rouse 6dfbb1f66e
Update packages/ai/src/agents/think-and-prep-agent/think-and-prep-agent-investigation-prompt.txt
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-09-22 10:20:10 -06:00
Blake Rouse b199a7d74c Improve AI agent and tool prompts
- Update analyst agent prompt for better analysis guidance
- Enhance think-and-prep agent prompts (standard and investigation)
- Refine create-reports-tool description for clearer instructions
2025-09-22 10:17:10 -06:00
dal 651af9de4e
report update fixes 2025-09-22 09:47:12 -06:00
dal f9c5253f5d
fix lint 2025-09-22 09:46:37 -06:00
dal ddc9748ad8
merge staging 2025-09-22 09:35:24 -06:00
dal 905ef3509f
sql dialect specific guidance 2025-09-22 09:11:50 -06:00
dal 0cc6fb04b0
merge staging 2025-09-22 09:02:46 -06:00
dal 1adad1b6e9
ssl through url 2025-09-22 09:01:09 -06:00
dal e68032ab8d
lint errors 2025-09-22 08:59:25 -06:00
dal 83aca9300e
percentage instruction fix so llm is better at them 2025-09-22 08:42:35 -06:00
dal e63fd79df5
database ssl connection fix 2025-09-22 08:32:06 -06:00
Wells Bunker 6f857d9436
Update suggested prompts endpoint to return immediately and run update in background 2025-09-21 19:12:16 -06:00
dal 408cc1853c
migration fix 2025-09-20 16:47:54 -06:00
dal 1acecff3a4
try one more time without custom ssl 2025-09-20 16:41:34 -06:00
dal cf7725fd53
add cert step 2025-09-20 16:34:28 -06:00
dal 0e2ac5c9d1
change ssl one more time 2025-09-20 16:28:31 -06:00
dal f81a524279
make test more stable and add ssl requirement on migration 2025-09-20 16:24:39 -06:00
dal 52189a6fa0
migration job fix 2025-09-20 16:10:25 -06:00
Nate Kelley 01a0c06a08
Merge pull request #1025 from buster-so/nate/sharing-hot-fix
Make a more composible check for checkPermission
2025-09-20 15:51:06 -06:00
Nate Kelley 2519e84c0f
update permission cache 2025-09-20 15:48:44 -06:00
dal 0e89b502ea
fix lint build and tests 2025-09-20 15:22:28 -06:00
dal 189dedd32e
Merge remote-tracking branch 'origin/staging' into dallin-bus-1836-move-seed-script-to-ts 2025-09-20 15:15:45 -06:00
dal 9c01bcb37c
seed script and db clean up 2025-09-20 15:15:26 -06:00
Nate Kelley 359117a51b
Merge pull request #1020 from buster-so/nate/hot-fix-report
Nate/hot fix report
2025-09-20 15:14:00 -06:00
Nate Kelley e5dbf41db5
Update check-collections-containing-asset.ts 2025-09-20 14:39:02 -06:00
Nate Kelley 3cdd0bfa57
reset permission stuff 2025-09-20 14:30:17 -06:00
Nate Kelley 3bff20c8e0
must be org member 2025-09-20 14:05:48 -06:00
Nate Kelley f406dd5ca3
permission check update 2025-09-20 13:40:42 -06:00
Nate Kelley 9efdf2c67b
pass through asset check 2025-09-20 13:22:52 -06:00
Blake Rouse 7ef63439a2 Merge branch 'saturday-prompt-changes' of https://github.com/buster-so/buster into saturday-prompt-changes 2025-09-20 12:26:46 -06:00
Blake Rouse e819b14b45 Further updates to analyst agent prompt
- Additional refinements to analyst agent prompt text for improved functionality
2025-09-20 12:26:34 -06:00
Blake Rouse a89a9c7d16
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-20 11:51:30 -06:00
Blake Rouse 667fce5eb8
Update packages/ai/src/agents/think-and-prep-agent/think-and-prep-agent-investigation-prompt.txt
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-09-20 11:51:16 -06:00
Blake Rouse 79754b6ddb
Update packages/ai/src/agents/think-and-prep-agent/think-and-prep-agent-investigation-prompt.txt
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-09-20 11:51:08 -06:00
Blake Rouse 1882ce9dad Update agent prompts and analysis type router formatting
- Updated analyst agent prompt text
- Enhanced think and prep agent investigation and standard prompts
- Improved analysis type router prompt formatting
2025-09-20 11:49:22 -06:00
Nate Kelley 3b2bc471ab
permission helper 2025-09-20 11:05:10 -06:00
Nate Kelley b8d5624304
create a versioned report 2025-09-20 10:37:50 -06:00
Nate Kelley eaaeca332c
Added more report version number stuff 2025-09-20 08:58:28 -06:00
Nate Kelley f1ea82c730
Added handler around metric 2025-09-20 08:54:32 -06:00
dal 79245b58a2
roll back blakes prompt changes 2025-09-19 21:02:14 -06:00
wellsbunk5 18d81fd698
Merge pull request #1015 from buster-so/wells-bus-1848-migrate-the-frontend-to-use-v2-get-dashboards-endpoint
Adding /dashboards/[id] v2 endpoint to frontend
2025-09-19 16:52:41 -06:00
Wells Bunker 31d5f939e5
Adding /dashboards/[id] v2 endpoint to frontend 2025-09-19 16:48:05 -06:00
dal f8292afbd7
Merge pull request #1014 from buster-so/dallin-bus-1846-opening-a-chat-with-a-dashboard-displays-individual-metric
Fix: Align mostRecentFile selection with response message files
2025-09-19 15:46:47 -06:00
dal 2673805cd7
fix: Align mostRecentFile selection with response message files
Ensures the mostRecentFile saved to chat matches what users see in response messages.
Reports take priority (already displayed), followed by first extracted file.

Co-Authored-By: Dallin Miner <dallin@buster.so>
2025-09-19 15:41:07 -06:00
dal f58be35411
Merge pull request #1011 from buster-so/jacob-bus-1750-hardcoding-values-in-metrics
First Attempt To Fix Hardcoded values
2025-09-19 15:35:08 -06:00
dal d4f940e6b4
Update packages/ai/src/agents/think-and-prep-agent/think-and-prep-agent-investigation-prompt.txt
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-09-19 15:35:00 -06:00
dal 5128eee6f9
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-19 15:34:55 -06:00
dal f8a48ac0d1
Update packages/ai/src/agents/think-and-prep-agent/think-and-prep-agent-standard-prompt.txt
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-09-19 15:34:50 -06:00
dal 89df63f931
Merge pull request #1010 from buster-so/update-prompt-files
Update prompt files for AI agents
2025-09-19 15:34:02 -06:00
Blake Rouse 609257752e Minor update to think-and-prep-agent investigation prompt 2025-09-19 15:22:12 -06:00
Wells Bunker 731f2d4e64
adding v2 list chats endpoint 2025-09-19 15:22:11 -06:00
Blake Rouse 5d7bb397a4
Update packages/ai/src/agents/think-and-prep-agent/think-and-prep-agent-investigation-prompt.txt
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-09-19 15:16:55 -06:00
Blake Rouse 7e5fbfdca2
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-19 15:16:42 -06:00