Commit Graph

677 Commits

Author SHA1 Message Date
dal dac38de1b1
Revert "Merge pull request #1229 from buster-so/quite-a-few-system-prompt-changes"
This reverts commit 33321272c8, reversing
changes made to 40a586b175.
2025-09-30 20:20:53 -06:00
Blake Rouse 33321272c8
Merge pull request #1229 from buster-so/quite-a-few-system-prompt-changes
prompt-changes
2025-09-30 18:14:08 -06:00
Blake Rouse 1c38886f45
Update packages/ai/src/agents/think-and-prep-agent/combined-agent-standard-prompt.txt
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-09-30 18:13:14 -06:00
Blake Rouse c01c3d016d add-dashboard-instruction 2025-09-30 18:11:42 -06:00
Blake Rouse f3f7f766d4 prompt-changes 2025-09-30 17:19:28 -06:00
Wells Bunker e0828bc8c8
Fixing the todo step to throw llm errors if the model throws an error 2025-09-30 14:45:25 -06:00
jacob-buster c20234cc78 moving to sonnet 4.5 2025-09-30 10:44:55 -06:00
dal 1cb95ce895
fix: streaming 2025-09-30 09:44:00 -06:00
dal f3184d70fd
up the max tokens and use gpt 5 mini on repair tool calls since oai gets this stuff good 2025-09-30 08:19:45 -06:00
dal b922cf0c85
fix: done tool streaming 2025-09-29 21:23:15 -06:00
dal 7fc4d44779
fix: correct version on file response messages 2025-09-29 21:01:18 -06:00
dal a55f8c70f5
additional wait for pending updates 2025-09-29 14:14:57 -06:00
dal 46e1956b07
fix turbo job on migrate to not need start 2025-09-29 13:43:19 -06:00
dal d9f0e35f21
Merge pull request #1205 from buster-so/colorby-hot-fix-v2
Hot fixes for colorby v3
2025-09-29 13:06:16 -06:00
Blake Rouse 5d03d9670e hot-fixes-colorby-v3 2025-09-29 12:00:42 -06:00
Blake Rouse b256218ef3
Merge pull request #1203 from buster-so/colorby-hot-fix-v2
colorBy hot fix v2
2025-09-29 11:27:22 -06:00
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
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
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 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
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
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 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