Skip to content

fix: fix pydantic validate error#38368

Open
fatelei wants to merge 1 commit into
langgenius:mainfrom
fatelei:issue-38354
Open

fix: fix pydantic validate error#38368
fatelei wants to merge 1 commit into
langgenius:mainfrom
fatelei:issue-38354

Conversation

@fatelei

@fatelei fatelei commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Important

  1. Make sure you have read our contribution guidelines
  2. Ensure there is an associated issue and you have been assigned to it
  3. Use the correct syntax to link this PR: Fixes #<issue number>.

Summary

base_snapshot.config_snapshot_dict is not compatiable AgentSoulConfig.knowledge fix #38354

Screenshots

Before After
... ...

Checklist

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran make lint && make type-check (backend) and cd web && pnpm exec vp staged (frontend) to appease the lint gods

@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jul 3, 2026
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Pyrefly Type Coverage

Metric Base PR Delta
Type coverage 52.27% 52.27% +0.00%
Strict coverage 51.78% 51.78% -0.00%
Typed symbols 31,977 31,977 0
Untyped symbols 29,478 29,479 +1
Modules 2969 2969 0

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

Labels

size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Agent v2]pydantic_core._pydantic_core.ValidationError: 3 validation errors for AgentSoulConfig

1 participant