Skip to content

Conversation

@OskarStark
Copy link
Contributor

@OskarStark OskarStark commented Sep 16, 2025

Q A
Bug fix? no
New feature? yes
Docs? yes
Issues Fix #591
License MIT

Remove guessing logic for memory keys and introduce explicit syntax:

memory: 'text' # always creates static memory processor
memory:
    service: 'service_name' # uses service reference

This makes the configuration more predictable and eliminates the need to check if a string refers to an existing service.

cc @DZunke

@carsonbot carsonbot changed the title refactor: simplify memory configuration structure refactor: simplify memory configuration structure Sep 16, 2025
@carsonbot carsonbot added the Feature New feature label Sep 16, 2025
@OskarStark OskarStark added the AI Bundle Issues & PRs about the AI integration bundle label Sep 16, 2025
@carsonbot carsonbot changed the title refactor: simplify memory configuration structure [AI Bundle] refactor: simplify memory configuration structure Sep 16, 2025
@OskarStark OskarStark changed the title [AI Bundle] refactor: simplify memory configuration structure [AI Bundle] Simplify memory configuration structure Sep 16, 2025
@OskarStark OskarStark force-pushed the refactor/memory-configuration-structure branch from 9e19e6a to b89d798 Compare September 16, 2025 08:23
@OskarStark OskarStark force-pushed the refactor/memory-configuration-structure branch from 8324482 to 9530c67 Compare September 16, 2025 08:38
@OskarStark OskarStark merged commit 5e312e7 into symfony:main Sep 16, 2025
@OskarStark OskarStark deleted the refactor/memory-configuration-structure branch September 16, 2025 09:03
@chr-hertel
Copy link
Member

Thanks @OskarStark for the quick solution - will directly use that in my Dresden workshop 😎

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

Labels

AI Bundle Issues & PRs about the AI integration bundle Feature New feature Status: Needs Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Ai Bundle][Agent] Memory as service does not work

3 participants