Skip to content

fix(memory): remove duplicate name field in identity template#2943

Merged
qin-ctx merged 1 commit into
volcengine:mainfrom
xiaochen-zhou:fix/identity-duplicate-name-field
Jul 2, 2026
Merged

fix(memory): remove duplicate name field in identity template#2943
qin-ctx merged 1 commit into
volcengine:mainfrom
xiaochen-zhou:fix/identity-duplicate-name-field

Conversation

@xiaochen-zhou

Copy link
Copy Markdown
Contributor

Description

Remove duplicate name field definition in identity.yaml memory template

Related Issue

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • Test update

Testing

  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have tested this on the following platforms:
    • Linux
    • macOS
    • Windows

Checklist

  • My code follows the project's coding style
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

Screenshots (if applicable)

Additional Notes

The identity.yaml memory template defined the `name` field twice in the
fields list — once without `init_value` (line 24-27) and again with
`init_value: ""` (line 35-39). The first definition was redundant and
likely a copy-paste leftover.

Remove the duplicate so the field list has a single canonical `name`
definition (the one with `init_value: ""`, matching the pattern used by
other fields like `creature`).

No runtime impact — Pydantic model generation silently kept the last
definition — but the duplicate could confuse template readers and
future edits.
@qin-ctx qin-ctx merged commit 8178052 into volcengine:main Jul 2, 2026
@github-project-automation github-project-automation Bot moved this from Backlog to Done in OpenViking project Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants