v2.52.0
10 days ago by Craig Adam
Major Features
Significant AI Functionality Improvements
- Comprehensive LLM Parameter Support: Added full support for temperature, topP, topK, minP, frequency/presence penalties, seed, stop sequences, and logprobs across all AI providers (OpenAI, Anthropic, Google/Gemini, Mistral, Groq, Azure OpenAI, Bedrock, Vertex, Cohere, Cerebras)
- Enhanced AI Test Harness: Reorganized components to dedicated directory structure with improved model/vendor selection, advanced parameter controls, and proper default handling
- AI Provider Improvements: Updated BaseParams and ChatParams in AI/Core, added migration V202506181549 for default LLM parameters in AIPrompt table, updated GraphQL RunAIPromptResolver
Context Propagation for Actions and Agents
- Type-Safe Context Support: Added generic type parameters to ExecuteAgentParams and RunActionParams for passing runtime configuration (API keys, endpoints, environment settings)
- Automatic Context Flow: Context propagates from parent agents to sub-agents and from agents to actions during execution
- Backward Compatible: Defaults to 'any' type when not specified, maintains factory compatibility
Actions Dashboard Export
- External Integration: Actions management dashboard now available for external integration
Infrastructure Improvements
Atomic Metadata Sync Operations
- Transaction Scope Fixes: Enhanced transaction handling to ensure all metadata operations succeed or fail together with FileBackupManager for atomic file operations
- File Reset Command: Added
file-reset
command to remove primaryKey and sync sections from JSON files with dry-run mode and backup support - Missing Record Warnings: Added warnings when pushing records with primaryKey that don't exist in database with
push.autoCreateMissingRecords
config option
AI Agent Enhancements
- UUID Validation: Enhanced BaseAgent class to validate sub-agent and action IDs are proper UUIDs with clear error messages
- Execution Monitor Fixes: Fixed depth calculation using node.depth, resolved node re-rendering issues, updated visual hierarchy with better icons
- Agent Efficiency Analysis: Analyzed agent execution and identified optimization opportunities (40-60% token reduction possible)
Bug Fixes
- Angular Stability: Fixed ExpressionChangedAfterItHasBeenCheckedError in AI test harness with proper ChangeDetectorRef management
- UI Improvements: Fixed JSON dialog positioning with higher z-index, enhanced reset button functionality, fixed deprecated kendo-button syntax
- Parameter Handling: Removed hardcoded temperature = 0.7, fixed user message handling in prompts, enhanced null checking to use
!= null
- Metadata Operations: Added validation for entityName parameter in Metadata.EntityByName
Other Changes
- Metadata Sync: Push operations now require SQLServerDataProvider and will fail fast if transactions cannot be started