Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(domain): ensure workflow model updates agent compaction configurations#818

Merged
tusharmath merged 2 commits into
mainfrom
fix-compaction-model
May 14, 2025
Merged

fix(domain): ensure workflow model updates agent compaction configurations#818
tusharmath merged 2 commits into
mainfrom
fix-compaction-model

Conversation

@tusharmath

@tusharmath tusharmath commented May 14, 2025

Copy link
Copy Markdown
Collaborator

Summary

This PR addresses an issue with model configuration inheritance in workflows. Previously, when a workflow specified a model, it would update agent models but not properly initialize compaction configurations for agents that didn't have them already. This fix ensures all agents receive consistent model configurations for both regular operation and compaction.

Changes

  • fix(domain): Ensure workflow models are applied to agent compact configurations

    • Added initialization of Compact objects for agents when only a workflow model is provided
    • Updated existing compact models to use the workflow model when specified
    • Added tests to verify proper inheritance behavior
  • fix(display): Simplify codeblock style initialization in MarkdownFormat

    • Removed unnecessary mutable style object and attribute modification

@tusharmath tusharmath changed the title fix compaction model fix(domain): ensure workflow model updates agent compaction configurations May 14, 2025
@tusharmath tusharmath merged commit 3e0728b into main May 14, 2025
@amitksingh1490 amitksingh1490 deleted the fix-compaction-model branch November 14, 2025 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant