Commit Graph

5364 Commits

Author SHA1 Message Date
dal 92c4c1e257
Update AI package to use GPT-5 model and add OpenAI SDK dependency 2025-08-07 11:20:55 -06:00
Nate Kelley 48c34235cb
update msw 2025-08-07 11:07:32 -06:00
Nate Kelley f3f493740c
upgrade storybook to v9 2025-08-07 10:42:37 -06:00
Nate Kelley 63121edcf4
Add reports page 2025-08-07 10:03:14 -06:00
dal 07eb5aa0c9
ok going to make tools follow factory pattern and prepping to move chunk processor to be tool specific 2025-08-07 09:58:28 -06:00
Nate Kelley 33bdee5ea4
update package versions 2025-08-07 09:40:51 -06:00
dal a065612deb
Refactor generateChatTitle function to improve title generation and database updates. Introduce helper functions for LLM title generation and database record updates, enhancing code clarity and maintainability. 2025-08-06 22:58:25 -06:00
dal 5370b8cbf6
generate cfhat title 2025-08-06 22:56:27 -06:00
Nate Kelley c9f3ea8494
Merge pull request #672 from buster-so/big-nate-bus-1617-create-report-page-and-file-page
Big nate bus 1617 create report page and file page
2025-08-06 22:48:12 -06:00
Nate Kelley 81bddd5216
Add 3 dot menu for report 2025-08-06 22:46:15 -06:00
dal 1d545a009c
healing messages 2025-08-06 17:57:04 -06:00
dal aaae50a32f
remove useless tests 2025-08-06 17:21:50 -06:00
dal 218bdf8eb3
Refactor Docs Agent to include additional context parameters and streamline SQL execution. Introduce user, chat, data source, organization, and optional message IDs in the DocsAgentOptions schema. Update createDocsAgent function to utilize the new context structure. Remove obsolete parseStreamingArgs function from execute-sql-docs-agent as AI SDK v5 handles streaming parsing internally. 2025-08-06 17:10:25 -06:00
dal 04ae594d3a
no need to have extra tool for tool call repair 2025-08-06 16:57:06 -06:00
dal 2b5efe790e
repiar tool try catch errors. 2025-08-06 16:52:21 -06:00
dal d211a2cd25
tons of ai sdk v5 changes 2025-08-06 16:52:05 -06:00
Nate Kelley ac818aff47
create a shared metric card component 2025-08-06 15:33:54 -06:00
dal 74400c6b9d
Enhance analyst agent integration by adding user and organization context. Update the analyst agent to include additional parameters for user and organization IDs, and refactor tool integration to utilize new dashboard and metrics functions. Remove unused context injection helper to streamline the codebase. 2025-08-06 14:31:37 -06:00
dal f694c534c7
Refactor analyst agent tools integration and SQL execution context. Update the analyst agent to utilize new tool functions for metrics and dashboards, and modify SQL execution to accept context directly from the analyst agent options, enhancing clarity and maintainability. 2025-08-06 14:31:30 -06:00
Nate Kelley 1ccccce3a7
Update MetricElement.tsx 2025-08-06 12:54:26 -06:00
Nate Kelley 8695bd8579
metric plugin add modal update 2025-08-06 12:51:45 -06:00
dal 6b72213992
Update dependencies to stable versions and refactor analyst agent context. Replace beta versions with specific stable versions in pnpm-lock and package.json. Adjust context handling in various files to improve clarity and maintainability. Remove unused DocsAgentContext and related schemas. 2025-08-06 11:47:12 -06:00
Nate Kelley a3f9dc8d13
metric placeholder plugin 2025-08-06 11:16:45 -06:00
Nate Kelley 09e44171d4
fix merge conflict 2025-08-06 09:55:39 -06:00
Nate Kelley 144f782185
Merge pull request #671 from buster-so/cursor/add-resizable-caption-to-metric-plugin-97bd
Add resizable caption to metric plugin
2025-08-06 08:55:21 -06:00
Cursor Agent 295ecac4fe Refactor metric plugin with improved element rendering and resizing
Co-authored-by: natemkelley <natemkelley@gmail.com>
2025-08-06 14:52:16 +00:00
Nate Kelley 90d572c92f
Metric caption kit 2025-08-06 08:52:05 -06:00
Nate Kelley 4d5c3afc34
create temp hook override 2025-08-05 23:17:31 -06:00
dal 11c071ffe6
Refactor retry logic in analyst and think-and-prep steps to remove unnecessary error handling and improve healing strategy. Update tests to reflect changes in retry behavior and remove obsolete tests related to network error handling. 2025-08-05 22:56:02 -06:00
dal f17d81ba30
migration 2025-08-05 22:11:48 -06:00
dal a2d90f01a7
ai fallback on ai sdk v5 2025-08-05 18:24:32 -06:00
Nate Kelley 9ba4750a65
Adjust add metric modal 2025-08-05 17:05:27 -06:00
Nate Kelley 57c1fe0f56
character counter kit 2025-08-05 15:43:28 -06:00
Nate Kelley b7a489d73b
counter reach 2025-08-05 15:15:52 -06:00
dal 69209e086c
Refactor edit reports functionality to support sequential edit operations with improved error handling and user feedback. Update schemas to include detailed operation results, including duration and error messages, enhancing overall report content management. 2025-08-05 14:45:55 -06:00
Nate Kelley 09c977a891
custom components 2025-08-05 14:43:37 -06:00
dal ba1da07473
Add new report content manipulation functions
Introduce 'replace-report-content' and 'append-report-content' exports to enhance report content management capabilities, allowing for more flexible report updates and modifications.
2025-08-05 14:30:22 -06:00
dal 2b926c3e91
Refactor report creation tool to support multiple report files with enhanced validation and error handling. Update schemas and processing logic to accommodate markdown content, ensuring robust file management and improved user feedback during report generation. 2025-08-05 14:10:09 -06:00
Nate Kelley 8e31d18066
Add markdown conversion function 2025-08-05 13:40:16 -06:00
dal a26242c46d
Enhance report handling by integrating markdown to PlateJS conversion in the report retrieval process, improving content formatting and error handling. Update report update schema to accept string content for markdown streaming. 2025-08-05 12:02:40 -06:00
dal b8ad52cf28
change the schema content to be text for markdown streaming 2025-08-05 11:38:43 -06:00
dal e35608fa44
Merge remote-tracking branch 'origin/staging' into dallin-bus-1589-create-and-modify-report-tools 2025-08-05 11:22:24 -06:00
dal bb07af8cbd
route to different think and prep based on the context from the router 2025-08-05 11:15:59 -06:00
dal 502eff430c
Merge pull request #670 from buster-so/staging
Staging
2025-08-05 11:14:43 -06:00
dal 0c55b1e846
Merge pull request #669 from buster-so/dallin-bus-1618-parsing-error-when-editing-sql-query-in-editor
Enhance SQL query safety checks with dialect-aware filtering and improve data source type retrieval in query engine
2025-08-05 11:14:20 -06:00
Nate Kelley 45f7950851
Remove reports from sidebar 2025-08-05 11:10:14 -06:00
dal 5219cc0004
Enhance report generation capabilities by adding new report creation and editing tools, updating agent instructions to include report generation, and refining the analyst agent's workflow for improved narrative and analysis integration. 2025-08-05 11:09:55 -06:00
dal 03ccc51b5f
Refactor analysis type router to use a dedicated prompt formatting function and clean up code structure 2025-08-05 11:02:45 -06:00
dal 9be23fac0e
Enhance SQL query safety checks with dialect-aware filtering and improve data source type retrieval in query engine 2025-08-05 11:00:34 -06:00
dal d63aa94011
Implement analysis router enhancements and optimize report tools 2025-08-05 10:47:25 -06:00