Commit Graph

429 Commits

Author SHA1 Message Date
dal dcf1687b50
Refactor sequential thinking tool to remove raw LLM message entries
- Removed the creation and handling of raw LLM message entries in both start and finish functions.
- Updated message entry updates to only include reasoning messages, simplifying the logic and improving clarity.
2025-08-22 16:50:55 -06:00
dal 50c9575d6f
Merge pull request #756 from buster-so/analyst-workflow-output
Enhance Analyst Workflow with Tool Integration and Output Structuring
2025-08-22 16:33:18 -06:00
dal d01259e728
Enhance Analyst Workflow with Tool Integration and Output Structuring
- Added imports for various dashboard, metrics, and report tools to the analyst workflow.
- Updated the `runAnalystWorkflow` function to return a comprehensive output, including tool call results, charts created, and summary statistics.
- Implemented logic to extract tool calls and segment messages by user requests, improving the overall workflow output structure.
2025-08-22 16:28:05 -06:00
dal fe5819efe1
Update AWS SDK dependencies and enhance metric data handling
- Upgraded '@aws-sdk/client-s3' to version 3.873.0 across multiple packages.
- Introduced caching mechanisms for metric data retrieval in the getMetricDataHandler function.
- Updated API endpoints to support report_file_id for cache lookups and data retrieval.
- Enhanced error handling and logging for cache operations.
- Refactored related components to accommodate new caching logic and parameters.
2025-08-22 12:45:05 -06:00
dal 87d3efc3c5
Merge pull request #754 from buster-so/Jacob-report-prompt-v5
Improved Prompts
2025-08-22 12:01:08 -06:00
jacob-buster f539ca2566 Improved Prompts 2025-08-22 11:59:12 -06:00
dal 21a2d3f2d7
Refactor report generation handling and UI updates
- Simplified the `GeneratingContent` component to display a static loading message.
- Updated `ReportPageController` to determine if a report is being generated based on the current message context.
- Adjusted report status handling in the delta creation process to maintain 'loading' status during streaming.
- Enhanced logic in the modify reports helper to ensure file status reflects loading during streaming and only updates to completed or failed when all edits are finalized.
- Modified database query to preserve input order for new messages during updates.
2025-08-22 10:05:07 -06:00
dal d1155e5978
Enhance metric query execution and metadata handling
- Introduced `executeMetricQuery` utility for standardized metric SQL query execution with retry logic.
- Updated `getMetricDataHandler` and metric tool execution functions to utilize the new query utility, improving error handling and result processing.
- Added metadata generation from query results to provide detailed insights into data structure.
- Refactored SQL validation to ensure only read-only queries are executed, enhancing data integrity.
2025-08-22 09:01:28 -06:00
dal 60d7bd67d1
Update modify-reports-transform-helper to display elapsed time only when all edits are complete, ensuring accurate reporting during the editing process. 2025-08-21 21:53:13 -06:00
dal 1f8cb7e8f3
Enhance SQL permission validation error messages with actionable guidance. Update tests to reflect improved error handling and specific feedback for unauthorized queries and wildcard usage. Ensure consistency in error reporting across various SQL operations. 2025-08-21 16:53:48 -06:00
dal d137cfe678
follow ups with tool result error solved for other tool calls 2025-08-21 16:20:08 -06:00
dal 93fdbd07b3
fixes on tests and stuff 2025-08-21 14:15:58 -06:00
dal 81c703a472
Update dependencies to version 4.0.1 for @trigger.dev/build, @trigger.dev/core, and @trigger.dev/sdk; enhance UUID validation in modify-reports-delta tool. 2025-08-21 13:34:26 -06:00
dal 4f7ef9525e
Add basic task examples and update SDK version in Trigger.dev documentation 2025-08-21 13:27:31 -06:00
dal bb6d932f26
Implement caching for report snapshots in modify and create reports tools 2025-08-21 12:57:12 -06:00
dal 0ac8921a8a
small prompt fix 2025-08-21 12:47:31 -06:00
dal 7b693d1c3d
streaming 2025-08-21 12:20:40 -06:00
dal 6e41a4122b
sql fixes and report streaming 2025-08-21 10:31:36 -06:00
dal 6a4da2ed57
staging changes 2025-08-21 09:21:52 -06:00
dal e3cbe674ce
sonnet 4 logging and logic 2025-08-21 09:20:48 -06:00
dal 85b121e8b0
Merge remote-tracking branch 'origin/main' into staging 2025-08-21 09:20:13 -06:00
dal 1084bfd485
add gpt5 to fallback chain on sonnet 4 2025-08-21 09:18:58 -06:00
dal dbe43df0ea
Merge remote-tracking branch 'origin/staging' into dal-fix-report-bugs 2025-08-21 09:02:19 -06:00
dal 170b65887d
Merge pull request #729 from buster-so/improved-sql-parsing
Enhance SQL permission validation to include unauthorized columns in error messages. Update permission error message creation to handle both unauthorized tables and columns. Modify SQL execution functions to validate column permissions alongside table permissions, improving feedback for users lacking access.
2025-08-21 09:02:11 -06:00
dal 84445efa60
tests passing 2025-08-21 08:58:43 -06:00
dal 3b266c07e7
better logging around fallbacks 2025-08-21 08:58:27 -06:00
dal b4e81dcefe
added opus 4.1 to fallback chain for sonnet 2025-08-21 08:50:29 -06:00
dal 5838285c81
Merge remote-tracking branch 'origin/staging' into improved-sql-parsing 2025-08-21 08:31:09 -06:00
dal 2f641e8b2d
Enhance SQL permission validation to include unauthorized columns in error messages. Update permission error message creation to handle both unauthorized tables and columns. Modify SQL execution functions to validate column permissions alongside table permissions, improving feedback for users lacking access. 2025-08-21 08:30:48 -06:00
dal 5d9c9e6a77
got rid of delta streaming 2025-08-20 16:48:13 -06:00
dal c94ceaa10a
modify metric delta close 2025-08-20 16:08:12 -06:00
dal 415010b8fc
create reports fixes 2025-08-20 13:38:38 -06:00
dal 13de96e5f7
Refactor tool call repair strategies to improve error handling and streamline repair logic. Removed unused types and consolidated strategy functions for better clarity. Updated tests to reflect changes in strategy implementations and input handling. 2025-08-20 13:11:55 -06:00
dal 2461dc0a77
bugfixes 2025-08-20 11:26:37 -06:00
dal 1cac320006
logic around reports, bug fixes, self healing, etc. 2025-08-20 10:22:35 -06:00
dal bc6782e156
test fixes 2025-08-18 23:08:41 -06:00
dal 5b5191356a
Refactor report creation and modification logic. Introduced batch update functionality for reports, improved version history management, and enhanced error handling during report updates. Adjusted task duration settings for better performance and refined file extraction logic to filter out reports and metrics appropriately. 2025-08-18 17:00:42 -06:00
dal a821af220f
analysis type router fix 2025-08-18 15:31:39 -06:00
dal 0472a5bc46
descriptions with column label formatas 2025-08-18 15:23:07 -06:00
dal 6f65e25e63
Update pnpm-lock.yaml to resolve merge conflicts and synchronize package versions, including updates to '@aws-sdk/credential-provider-web-identity' and 'platejs' dependencies. 2025-08-18 15:19:01 -06:00
dal f9eece00d6
merge staging in 2025-08-18 14:39:59 -06:00
dal 1d107f4125
lots of changes 2025-08-18 12:43:28 -06:00
dal e0d03c6aab
Refactor data metadata handling and improve report creation logic. Updated SimpleType enum for better serialization, removed unused createDataMetadata function, and integrated createMetadataFromResults for data processing. Enhanced report creation with version history management and improved error handling in report updates. 2025-08-18 11:59:56 -06:00
dal c7627b00d6
identify assumptions fixed 2025-08-18 11:24:21 -06:00
dal b3cfa35430
for the most part things are looking good 2025-08-18 11:20:06 -06:00
dal 35e0fc27d7
done tool fix 2025-08-18 10:43:15 -06:00
dal 6d1a0b6c86
todos cleanedup 2025-08-18 10:31:52 -06:00
dal 6b171aae2e
build error map the reasoning message better in web 2025-08-18 10:16:59 -06:00
dal 9589ca198b
upgrade and fixes 2025-08-18 08:07:13 -06:00
dal 0cf763d9a3
type error on fallback 2025-08-18 07:27:31 -06:00