Commit Graph

386 Commits

Author SHA1 Message Date
Wells Bunker be9b113671
migration for enum values 2025-09-17 14:42:28 -06:00
Wells Bunker fd4ff6216f
AssetTypeEnum rework 2025-09-17 14:37:14 -06:00
dal ee3274b34b
chat conversation not all messages 2025-09-17 12:35:58 -06:00
dal 46bafb36d4
Merge remote-tracking branch 'origin/staging' into dallin-bus-1753-overloaded-error 2025-09-16 23:20:22 -06:00
dal 4508c2df29
manual retry on the overload error 2025-09-16 23:20:06 -06:00
Wells Bunker 866963bcb7
fix /reports/[id] to return the correct permission 2025-09-16 16:05:09 -06:00
Nate Kelley 5152635ef5
Merge pull request #943 from buster-so/big-nate-bus-1803-sharing-fallbacks-not-actually-working
Big nate bus 1803 sharing fallbacks not actually working
2025-09-16 15:17:45 -06:00
Nate Kelley 8595aa655a
Update permission logic 2025-09-16 15:13:37 -06:00
dal 25efb0242a
Merge branch 'staging' into dallin-bus-1797-dashboard-metrics-data-not-inheriting-correctly 2025-09-16 15:12:33 -06:00
dal d0c7efc441
checks and permission 2025-09-16 15:10:38 -06:00
Nate Kelley c36d0dab74
Is shared update 2025-09-16 15:10:21 -06:00
dal d0659723f2
Enhance access control by adding report permission checks and updating cascading permission logic. Refactor metric access functions to include workspace sharing information for chats, dashboards, and collections. 2025-09-16 14:32:36 -06:00
Wells Bunker 754af01ed1
add new chats to asset_permissions table 2025-09-16 12:02:10 -06:00
Wells Bunker 87c7ee9960
add Commit; Begin; to make sure transaction is commited 2025-09-16 09:48:14 -06:00
Wells Bunker 12a5412dbe
add one more public 2025-09-16 09:21:55 -06:00
Wells Bunker de20c9efa8
fix migrations 2025-09-16 09:17:20 -06:00
Wells Bunker 981804cb23
asset type enum fix 2025-09-16 08:44:06 -06:00
Nate Kelley cf6d6899ce
Merge pull request #902 from buster-so/dallin-bus-1742-view-only-chats-shouldnt-allow-user-to-follow-up-or-anything
Add Chat permissions logic to web to block view only
2025-09-15 18:19:30 -06:00
wellsbunk5 001973580e
Merge pull request #903 from buster-so/wells-bus-1722-add-report_files-inheritance-and-ancestor-search-for-metrics
MetricFilesToReportFiles db table
2025-09-15 17:28:11 -06:00
Wells Bunker b0ac88fbac
Adding the metric_files_to_report_files table and adding inheritance permissions to search 2025-09-15 17:23:39 -06:00
dal 5be31d3ce5
Merge remote-tracking branch 'origin/staging' into dallin-bus-1742-view-only-chats-shouldnt-allow-user-to-follow-up-or-anything 2025-09-15 16:51:04 -06:00
dal b1b21e30a4
Refactor chat permissions and enhance edit capabilities
- Introduced `useChatPermission` hook to manage chat permissions.
- Updated components to utilize the new permission logic, allowing conditional rendering of edit options.
- Adjusted `ChatInput` to display a view-only message when the user lacks edit permissions.
- Cleaned up `package.json` formatting and added missing exports in context files.
2025-09-15 16:50:58 -06:00
dal e57b74015f
Merge remote-tracking branch 'origin/staging' into dallin-bus-1714-run-sql-endpoint-needs-to-use-same-functionality-as-the-get 2025-09-15 15:07:49 -06:00
dal 2761b3f0fc
Integrate SQL functionality by adding SQL routes and updating dependencies. Refactor access control imports to use centralized access-controls package. Update pnpm-lock and package.json for new dependencies including node-sql-parser and yaml. 2025-09-15 15:07:43 -06:00
dal eb657d558e
CLAUDE.md and README.md updates... 2025-09-15 15:06:41 -06:00
Wells Bunker 464ca48264
comment cleanup 2025-09-15 14:25:28 -06:00
Wells Bunker c91441c965
linting 2025-09-15 14:09:52 -06:00
Wells Bunker 5e88b37988
Adding search backend 2025-09-15 14:01:55 -06:00
dal 5c66438313
merge staging in 2025-09-12 12:37:54 -06:00
dal 4aba04d623
merge staging in 2025-09-12 12:37:48 -06:00
dal c6288a540c
database optimization on report files 2025-09-12 12:18:05 -06:00
dal 2b46a49841
shortcuts final touches 2025-09-12 11:25:43 -06:00
dal e865dc79c4
Enhance chat functionality by adding user last used shortcuts tracking and updating request handling to include metadata. Refactor shortcut listing to prioritize last used shortcuts in the response. 2025-09-12 11:09:15 -06:00
dal c914e33acf
Refactor shortcut service and handler files to improve code readability by removing unnecessary blank lines and reordering import statements for consistency. 2025-09-12 08:28:14 -06:00
dal 3c63c56d37
merge with staging 2025-09-12 08:26:35 -06:00
dal 1f2630a1cf
fixing tests 2025-09-11 23:43:52 -06:00
dal 2d63981273
Add in analyst instructions and org documentation to the message post processing. Tweaked propmts to accoutn for those. 2025-09-11 23:36:52 -06:00
wellsbunk5 9f31ab4ff3
Merge pull request #869 from buster-so/wells-bus-1707-user-personalization-endpoints
Personalization
2025-09-11 17:44:03 -06:00
Wells Bunker 886d2bfb11
db migration generation 2025-09-11 17:39:40 -06:00
Wells Bunker db252c9e7a
Adding personalization into the agent, adding PATCH api for user to add personalization 2025-09-11 17:35:01 -06:00
dal 7a07283e30
Refactor sync job processing to use dataset-based syncing from YAML files. Removed unused sync job status tracking and related database queries. Updated tests to reflect changes in job payload structure and logging. Added new types for datasets and searchable fields. 2025-09-11 13:15:22 -06:00
Wells Bunker f61a5baafd
minor fixes 2025-09-11 12:28:14 -06:00
Wells Bunker 633b66d132
Adding simplified user/[id] v2 endpoint 2025-09-11 12:18:49 -06:00
Wells Bunker 4dc7ec62bf
fix type sharing in server-shared 2025-09-11 10:04:17 -06:00
Wells Bunker f135fccf0f
Adding the db migration files 2025-09-11 08:33:32 -06:00
Wells Bunker c2a3ca0875
Merge branch 'staging' of https://github.com/buster-so/buster into addingMessageTypes 2025-09-11 08:27:08 -06:00
dal 8547b82dae
Merge pull request #830 from buster-so/addSuggestedPrompts2
Adding api, ai task, and database adjustments for user suggested prompts
2025-09-11 08:18:56 -06:00
Wells Bunker 440489d8be
update migrations 2025-09-10 23:07:51 -06:00
Wells Bunker c78f7689e7
remove setting the users updatedAt when modifying suggestedPrompts 2025-09-10 23:00:43 -06:00
Wells Bunker 60f0a1e0e0
Adding in database column, api input, and logic to skip analyst mode router if it is provided in a message 2025-09-10 22:00:15 -06:00
Nate Kelley 4f4326dbea
metric version number assosicated with report 2025-09-10 15:09:44 -06:00
Wells Bunker d9a5023595
pr changes 2025-09-10 11:01:26 -06:00
Wells Bunker 8f4daaa3e6
Adding api, ai task, and database adjustments for user suggested prompts 2025-09-09 18:09:41 -06:00
dal a8dfa88871
get rid of setup-db and usage in command 2025-09-09 15:25:49 -06:00
dal 0efa01002f
Merge pull request #791 from buster-so/move-search-to-turbo-puffer
Moving Search to Turbopuffer
2025-09-09 11:14:51 -06:00
dal 816bdd5595
add the 0092 bc somehow the migration got lost? 2025-09-09 10:55:29 -06:00
dal 47d9e70f8e
Merge remote-tracking branch 'origin/staging' into move-search-to-turbo-puffer 2025-09-09 10:15:12 -06:00
dal c354a08348
Merge remote-tracking branch 'origin/staging' into move-search-to-turbo-puffer 2025-09-09 10:04:50 -06:00
dal e76a20ea65
Merge remote-tracking branch 'origin/staging' into dallin-bus-1694-applying-an-analystmd-to-analyst-agent 2025-09-09 09:40:51 -06:00
dal 6111f2c90f
type and test logic cleanups 2025-09-09 09:40:19 -06:00
dal 42bf5859c8
fix on files 2025-09-09 09:27:03 -06:00
dal ef41516325
Implement unified deployment for models and docs
- Added new deployment functionality to handle both models and documentation in a single request.
- Introduced new schemas for unified deployment requests and responses using Zod.
- Updated deployment handlers to process and validate models and docs together.
- Enhanced logging to provide detailed information about deleted models and docs during deployment.
- Refactored existing code to integrate the new deployment structure, ensuring backward compatibility with previous functionalities.
2025-09-09 00:32:48 -06:00
dal d17c21b2b7
Add docs API endpoints and database schema
- Introduced new API routes for managing documents, including listing, creating, updating, and deleting documents.
- Implemented database queries for document operations.
- Added validation schemas for request and response types using Zod.
- Updated the database schema to include a 'docs' table with necessary constraints.
- Integrated the new docs functionality into the server and shared packages.
2025-09-08 15:48:17 -06:00
dal cae94ae56a
database now has docs table 2025-09-08 14:44:25 -06:00
dal 3dd4827591
Merge remote-tracking branch 'origin/staging' into move-search-to-turbo-puffer 2025-09-06 14:36:59 -06:00
dal 0aea7b724a
Merge remote-tracking branch 'origin/staging' into move-search-to-turbo-puffer 2025-09-05 10:04:32 -06:00
Nate Kelley 820fbe91da
update package versions 2025-09-05 09:55:29 -06:00
Nate Kelley cb8d1101f2
Merge branch 'staging' into big-nate-bus-1608-make-a-tanstack-start-demo 2025-09-05 09:43:12 -06:00
dal e5c8512c76
ok sync jobs to turbopuffer 2025-09-04 14:36:08 -06:00
dal a69eefe2b7
Merge remote-tracking branch 'origin/staging' into move-search-to-turbo-puffer 2025-09-04 11:46:55 -06:00
dal 4e93071e75
Update environment configuration and sync functionality
- Added `TURBOPUFFER_REGION` to the environment configuration.
- Modified the `createClient` function to utilize the new `TURBOPUFFER_REGION` variable.
- Updated the `generateNamespace` function to return the data source ID directly instead of prefixing it.
- Adjusted various tests and sync job logic to reflect changes in namespace generation and ensure consistency across the application.
2025-09-04 11:45:59 -06:00
dal 17b06b97e7
Update GitHub Actions and CLI configuration
- Added .actrc to .gitignore to prevent local configuration from being tracked.
- Updated cli-release.yml to specify paths for apps and packages, enhancing workflow triggers.
- Improved permissions in cli-release.yml for better access control.
- Enhanced update-brew-tap.yml with detailed summary creation for deployment results.
- Introduced README.md for GitHub Actions, providing usage instructions and supported platforms.
- Added deploy and dry-run actions for better deployment management.
- Updated error handling in CLI commands for clearer messaging and improved user experience.
- Bumped CLI version to 0.3.0 in package.json to reflect recent changes.
2025-09-04 11:21:47 -06:00
Nate Kelley e5112da7b8
Merge branch 'staging' into big-nate-bus-1608-make-a-tanstack-start-demo 2025-09-04 08:50:29 -06:00
dal 3a0c4dbb68
Merge remote-tracking branch 'origin/staging' into recreate-cli-in-typescript 2025-09-04 08:48:01 -06:00
dal 2b2c867dab
typescript commands 2025-09-04 08:47:56 -06:00
dal 06ea66f2a4
recsolvjfj 2025-09-03 12:08:03 -06:00
dal 24d1bbda45
merge 2025-09-03 12:07:44 -06:00
dal 992be1d12d
Merge pull request #786 from buster-so/Jacob-fix-db-init
Get rid of setup.sql and put setup in seed
2025-09-03 09:55:52 -06:00
jacob-buster 972db21f23 Get rid of setup.sql and put setup in seed 2025-09-03 09:54:28 -06:00
Nate Kelley 811cfb4626
Merge branch 'staging' into big-nate-bus-1608-make-a-tanstack-start-demo 2025-09-03 09:33:23 -06:00
dal 55e50d124e
update message entires fix for race conditions 2025-09-03 09:09:36 -06:00
dal 4e6f13c181
sequential thinking and updates 2025-09-03 08:46:56 -06:00
dal 1e5bc3977d
update messages 2025-09-03 08:01:07 -06:00
dal 14e7edd8d0
await db writes 2025-09-02 22:08:24 -06:00
dal 30f7e8ac88
speed up writes to db 2025-09-02 21:58:26 -06:00
dal 497598afe1
tool result fixing 2025-09-02 16:49:08 -06:00
dal 017971b776
tool call + result sorting logic 2025-09-02 16:05:04 -06:00
dal ea0ab9f290
resolve comments 2025-09-02 13:10:22 -06:00
dal 679f55b16d
add in public facing chat endpoint 2025-09-02 12:27:51 -06:00
dal b3604c6cb0
embeddings and sync job 2025-09-02 11:29:46 -06:00
Nate Kelley b55dd2956a
update reasoning page 2025-08-29 20:44:06 -06:00
Nate Kelley 7fd779c319
auto change layout 2025-08-29 18:18:28 -06:00
dal 1b3150f466
Implement shortcuts feature in chat and API routes
- Added shortcuts routes to the API.
- Enhanced chat handler to process shortcuts in user prompts.
- Introduced shortcuts table schema in the database.
- Updated relevant queries and shared types to include shortcuts.
- Configured environment variables for database connection.
2025-08-28 12:48:01 -06:00
dal e165a37b36
migrate deploy to ts cli 2025-08-28 12:00:20 -06:00
dal 13038ff7b3
Update CLI and SDK configurations for improved functionality
- Enhanced the CLI with new linter rules and updated file structures for better organization.
- Modified package.json to reflect changes in dependencies and ensure compatibility.
- Improved the vitest configuration for better testing practices.
- Refactored various components for consistency and readability, including imports and error handling.
- Updated the server API and database queries to streamline authentication processes.
- Removed deprecated code and cleaned up unused files to maintain a tidy codebase.
2025-08-27 23:59:47 -06:00
dal 5726b01ecc
Enhance CLI functionality and SDK integration
- Added new CLI commands for authentication management and improved default action handling.
- Updated package.json to include new dependencies and scripts for building and running the CLI.
- Integrated authentication features into the SDK, allowing for API key validation.
- Modified the SDK configuration to use a new default API URL.
- Expanded the server API to include authentication routes.
- Updated database queries to support new API key functionalities.
- Improved code structure and readability across CLI and SDK components.
2025-08-27 23:31:03 -06:00
dal beb332f01a
workspace permissions 2025-08-26 15:58:16 -06:00
dal 48de08f603
Merge remote-tracking branch 'origin/staging' into add-s3-integration-capability 2025-08-25 09:53:18 -06:00
dal abbbd6eac7
make update message entries await 2025-08-25 09:26:27 -06:00
dal 5f51dfc459
Implement S3 integration management features
- Added routes for creating, retrieving, and deleting S3 integrations in the API.
- Introduced handlers for S3 integration operations, including validation of user permissions and storage credentials.
- Updated database schema to support S3 integrations, including a new table and associated queries.
- Integrated storage provider logic to handle S3, R2, and GCS configurations.
- Enhanced error handling and response structures for integration operations.

This commit lays the groundwork for managing storage integrations within the application, allowing users to connect and manage their S3 storage solutions.
2025-08-25 08:05:19 -06:00
dal 9bdfe81cd5
final tweak 2025-08-24 22:09:45 -06:00
dal 7b9afdbb2f
Enhance tool result conversion by validating toolCallId
- Added checks to ensure toolCallId exists and is a valid string before processing tool results.
- Preserves the original part if toolCallId is missing or invalid, improving robustness in message conversion.
2025-08-24 21:51:13 -06:00
dal 980a786d21
fix build errors 2025-08-24 21:42:38 -06:00
dal 455888cdcd
ai sdk v4 to v5 conversion 2025-08-24 21:31:16 -06:00
dal ce8d9a3064
Refactor updateMessageEntries for cache-first streaming approach
- Updated logic to prioritize cache as the source of truth during streaming, with asynchronous database updates for persistence.
- Improved error handling for background database updates, ensuring cache validity even if DB update fails.
- Cleaned up mergeResponseMessages and mergeReasoningMessages functions by removing redundant code.
2025-08-22 20:43:44 -06:00
dal 0d44a230d7
Update packages/database/src/queries/messages/helpers/merge-entries.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-08-22 17:37:43 -06:00
dal 948a07ec72
Update packages/database/src/queries/messages/helpers/merge-entries.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-08-22 17:37:34 -06:00
dal 77cd39b151
Update packages/database/src/queries/messages/update-message-entries.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-08-22 17:37:10 -06:00
dal b14054a033
Add lru-cache dependency and refactor updateMessageEntries function
- Introduced lru-cache version 11.1.0 in package.json and pnpm-lock.yaml.
- Refactored updateMessageEntries to utilize TypeScript-based merge logic with write-through caching.
- Improved error handling for fetching existing message entries and updated database logic to merge new entries with existing ones.
2025-08-22 17:34:40 -06:00
dal affe7b710b
update message entries query fix 2025-08-22 17:03:41 -06:00
dal 1cff29d936
update messages 2025-08-22 16:22:11 -06:00
dal f3cf5f46c4
Refactor report retrieval to include permission checks and enhance filtering options
- Updated GET reports endpoint to use `getReportsWithPermissions` for improved access control.
- Added support for filtering reports based on `shared_with_me` and `only_my_reports` flags.
- Introduced `getReportsWithPermissions` function to handle complex permission logic in the database layer.
- Enhanced report metadata retrieval to ensure proper access validation before fetching report details.
2025-08-22 11:14:50 -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 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 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 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 c94ceaa10a
modify metric delta close 2025-08-20 16:08:12 -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
Nate Kelley 2b18f215b9
report files metadata 2025-08-19 14:17:36 -06:00
dal 94f9e7106f
merge staging in 2025-08-19 13:33:13 -06:00
dal 71eb3dd42e
github integration 2025-08-19 13:27:51 -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 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 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 e0ea7ce616
normalizer fo optimistic json parsing and file selection logic 2025-08-15 18:45:59 -06:00
dal d0e9852f5d
git server endpoints 2025-08-15 18:32:55 -06:00
dal d11c62446a
ok metrics are working again 2025-08-15 16:18:14 -06:00
dal 41ca7078ab
initial github queries 2025-08-15 15:29:34 -06:00
dal 5ec0af4273
optimized message queries 2025-08-14 14:38:02 -06:00
dal 82516e4fbb
Update reasoning messages to improve clarity and consistency across tools
- Changed the wording of elapsed time in reasoning messages from "min" to "minutes" for better readability.
- Updated the final reasoning message format to specify "Reasoned for" instead of "Total workflow time," enhancing user understanding of the output.

These changes contribute to a more user-friendly experience and maintain consistency in messaging across different tools.
2025-08-14 14:09:53 -06:00
dal 24e91b2ac7
lots of changes for the entries updates 2025-08-14 13:49:34 -06:00
dal f8f9f4b0e0
few tweaks from greptile comments 2025-08-14 10:19:40 -06:00
dal 35623ad987
Integrate access controls with metric file downloads
- Added permission checks to metric file download handler
- Added permission checks to export-metric-data trigger task
- Created comprehensive tests for access control integration
- Updated AssetType enums to include report_file
- Resolved export conflicts in server-shared package
- Fixed AI package imports for new getPermissionedDatasets API
2025-08-13 14:25:41 -06:00
dal ccc27abaee
Enhance tool state management and reasoning entries across various tools
- Introduced start time tracking for tool operations in create, modify, and report tools to improve performance monitoring.
- Updated reasoning entries to include elapsed time for completed operations, enhancing user feedback.
- Refactored tool logic to ensure consistent handling of file statuses and improved clarity in reasoning messages.
- Enhanced logging for better traceability during tool execution.

These changes improve the overall user experience and maintainability of the toolset.
2025-08-13 14:19:32 -06:00
dal ebe496df87
Merge access-controls branch and resolve conflicts
- Combined asset type enums from both branches
- Merged all database query exports
- Integrated access-controls package into server-shared
- Resolved conflicts in AI package instructions
2025-08-13 14:15:20 -06:00
dal 594f08202b
Refactor metric file handling and improve error handling
- Updated type definitions for better clarity and type safety in metric file download and export tasks.
- Enhanced error handling in the metric files API to utilize HTTPException for more consistent error responses.
- Added environment variable validation in export tasks to ensure necessary credentials are present before execution.
- Improved type assertions for content in metric export queries to ensure proper handling of JSONB data.
2025-08-13 14:01:46 -06:00
dal a3c4238da1
lint fix 2025-08-13 13:48:28 -06:00
dal 3eb80ae630
Add metric file export functionality with Cloudflare R2 support
- Introduced new API endpoint for downloading metric files as CSV.
- Implemented export logic to handle large datasets (up to 1 million rows) and generate presigned URLs for secure downloads.
- Added cleanup task to remove exported files from R2 storage after 60 seconds.
- Updated environment configuration to include Cloudflare R2 credentials.
- Enhanced error handling for various export scenarios.
- Refactored related database queries and schemas for better integration.
- Updated documentation for new features and usage instructions.
2025-08-13 13:36:42 -06:00
dal d02d809e59
migration, optimization on entry querires, etc. 2025-08-13 11:50:56 -06:00
dal abc070449b
update the reasoning entries for all of hte tools 2025-08-13 11:04:37 -06:00
dal 8299e47e4e
more migration, streaming, type safety, etc 2025-08-13 10:48:07 -06:00
dal cc6c407023
Enhance TODO creation process with streaming support
- Introduced a new streaming mechanism for generating TODO lists, allowing for real-time updates and improved user experience.
- Added context handling for datasets in both `AnalystAgent` and `ThinkAndPrepAgent`, ensuring relevant data is included in system messages.
- Implemented new helper functions for managing TODO state and reasoning messages, improving code organization and clarity.
- Updated integration tests to validate the new streaming functionality and ensure consistent message roles.

These changes significantly enhance the functionality and maintainability of the TODO creation process within the agent workflow.
2025-08-12 18:32:56 -06:00
dal 1e594ac4ec
Refactor chat message handling by removing unused fields
- Eliminated `responseMessages`, `reasoning`, and `rawLlmMessages` from chat creation and handling functions to streamline data processing.
- Updated the `generateJsonbArraySql` function to accept pre-stringified JSON for better performance and clarity.

These changes enhance the efficiency of chat message management and reduce unnecessary complexity in the codebase.
2025-08-12 16:38:20 -06:00
dal e52c0c7d72
move sequential thinking away from old inherited context 2025-08-12 16:15:37 -06:00