Skip to content

feat(adk): dream improvements#1124

Open
N3kox wants to merge 1 commit into
alpha/10from
feat/dream
Open

feat(adk): dream improvements#1124
N3kox wants to merge 1 commit into
alpha/10from
feat/dream

Conversation

@N3kox

@N3kox N3kox commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this?

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:
zh(optional):

(Optional) Which issue(s) this PR fixes:

(optional) The PR that updates user documentation:

@@ -0,0 +1,117 @@
/*
* Copyright 2026 CloudWeGo Authors

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 Breaking API Changes Detected

Package: github.com/cloudwego/eino/adk/middlewares/automemory/dream

Incompatible changes:

  • Config.Schedule: removed
  • New: changed from func(context.Context, *Config[M]) (github.com/cloudwego/eino/adk.TypedChatModelAgentMiddleware[M], error) to func(context.Context, *MiddlewareConfig[M]) (github.com/cloudwego/eino/adk.TypedChatModelAgentMiddleware[M], error)
  • NewLocalStore: removed
  • OnError: changed from func(context.Context, string, error) to func(context.Context, ErrorStage, error)
  • Run: changed from func(context.Context, *Config[M], *RunRequest) error to func(context.Context, *Config[M], *RunRequest) (string, error)
  • ScheduleConfig: removed
  • Store: removed
Review Guidelines

Please ensure that:

  • The changes are absolutely necessary
  • They are properly documented
  • Migration guides are provided if needed

⚠️ Please resolve this thread after reviewing the breaking changes.

@codecov

codecov Bot commented Jun 30, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 75.56326% with 141 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (alpha/10@4dc69f1). Learn more about missing BASE report.

Files with missing lines Patch % Lines
adk/middlewares/automemory/dream/middleware.go 70.44% 65 Missing and 42 partials ⚠️
adk/middlewares/automemory/dream/store.go 80.19% 12 Missing and 8 partials ⚠️
adk/middlewares/automemory/dream/api.go 83.67% 4 Missing and 4 partials ⚠️
adk/middlewares/automemory/dream/lifecycle.go 90.24% 3 Missing and 1 partial ⚠️
adk/middlewares/automemory/dream/config.go 90.90% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             alpha/10    #1124   +/-   ##
===========================================
  Coverage            ?   81.66%           
===========================================
  Files               ?      190           
  Lines               ?    30903           
  Branches            ?        0           
===========================================
  Hits                ?    25237           
  Misses              ?     3827           
  Partials            ?     1839           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@N3kox N3kox force-pushed the feat/dream branch 2 times, most recently from 8ec64c9 to ed48d15 Compare July 1, 2026 10:02
@@ -0,0 +1,132 @@
/*
* Copyright 2026 CloudWeGo Authors

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 Breaking API Changes Detected

Package: github.com/cloudwego/eino/adk

Incompatible changes:

  • RollbackSessionOptions.ExpectedHeadEventID: removed
  • WithRollbackSessionExpectedHeadEventID: removed
Review Guidelines

Please ensure that:

  • The changes are absolutely necessary
  • They are properly documented
  • Migration guides are provided if needed

⚠️ Please resolve this thread after reviewing the breaking changes.

@@ -0,0 +1,132 @@
/*
* Copyright 2026 CloudWeGo Authors

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 Breaking API Changes Detected

Package: github.com/cloudwego/eino/compose

Incompatible changes:

  • AddressSegmentMiddleware: removed
  • ToolMiddleware.Name: removed
Review Guidelines

Please ensure that:

  • The changes are absolutely necessary
  • They are properly documented
  • Migration guides are provided if needed

⚠️ Please resolve this thread after reviewing the breaking changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant