Commit Graph

803 Commits

Author SHA1 Message Date
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 ad4d7a3134
Merge pull request #750 from buster-so/migrate-metric-data-endpoints-to-ts
Migrate-metric-data-endpoints-to-ts
2025-08-22 09:06:46 -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 05575fe65e
Implement integration tests for chat creation and enhance report menu functionality 2025-08-22 08:46:28 -06:00
dal 33e37edeba
add in the report file for start chat 2025-08-21 22:30:25 -06:00
dal 44c8191f94
Merge remote-tracking branch 'origin/staging' into migrate-metric-data-endpoints-to-ts 2025-08-21 22:00:26 -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 1eb3b8369a
Merge remote-tracking branch 'origin/staging' into migrate-metric-data-endpoints-to-ts 2025-08-21 21:31:19 -06:00
dal 0bf2c95147
Merge remote-tracking branch 'origin/staging' into migrate-metric-data-endpoints-to-ts 2025-08-21 16:57:08 -06:00
dal 71efdff64e
Add data source integration for metric data retrieval
- Added '@buster/data-source' dependency to the server and pnpm lock files.
- Enhanced the getMetricDataHandler function to support versioning and data source integration.
- Updated the metric data query schema to include an optional version number parameter.
- Modified the API endpoint to accommodate the new versioning feature for metric data retrieval.
2025-08-21 16:57:04 -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 3c8f1f4615
Add metric data retrieval endpoint and update schemas
- Introduced a new endpoint to retrieve metric data with pagination at /metric_files/:id/data.
- Added MetricDataParamsSchema and MetricDataQuerySchema for request validation.
- Updated GetMetricDataRequestSchema to include an optional limit parameter for pagination.
2025-08-21 15:55:19 -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
Nate Kelley 7334ec68b0
Update packages/server-shared/src/reports/requests.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-08-20 22:40:13 -06:00
Nate Kelley 75b4bb44dc
remove server-util entirely 2025-08-20 22:15:58 -06:00
Nate Kelley d4366037bf
Add some platejs tests 2025-08-20 22:13:02 -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 059c445d04
Merge remote-tracking branch 'origin/staging' into dal-fix-report-bugs 2025-08-20 13:12:55 -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
Nate Kelley da11cd8b30
fix: update .gitignore to properly ignore dist folder and remove tracked dist files 2025-08-20 11:37:31 -06:00
dal 2461dc0a77
bugfixes 2025-08-20 11:26:37 -06:00
dal 6ba1fb4c38
Merge remote-tracking branch 'origin/staging' into dal-fix-report-bugs 2025-08-20 10:22:43 -06:00
dal 1cac320006
logic around reports, bug fixes, self healing, etc. 2025-08-20 10:22:35 -06:00
Nate Kelley 47e94527bb
update package versions for workspace AND server 2025-08-20 09:16:28 -06:00
Nate Kelley 7c8ec9e42c
Merge branch 'staging' into big-nate-bus-1657-intergrate-with-report-streaming 2025-08-20 09:05:24 -06:00
Nate Kelley 845e9a73fa
remove add and delete nodes 2025-08-19 22:00:00 -06:00
dal db63ac4c83
update to ci, fix greptile recs 2025-08-19 15:07:34 -06:00
dal 7a1234d141
fix for build and test 2025-08-19 14:41:38 -06:00
dal 5d6ee61ec8
ok last fix 2025-08-19 14:24:20 -06:00
Nate Kelley 2b18f215b9
report files metadata 2025-08-19 14:17:36 -06:00