Skip to content

Conversation

OskarStark
Copy link
Contributor

Q A
Bug fix? no
New feature? yes
Docs? no
Issues --
License MIT

@carsonbot carsonbot changed the title Add default options array Add default options array Sep 11, 2025
@OskarStark OskarStark added the Agent Issues & PRs about the AI Agent component label Sep 11, 2025
@carsonbot carsonbot changed the title Add default options array [Agent] Add default options array Sep 11, 2025
@OskarStark OskarStark changed the title [Agent] Add default options array [Agent] Make $options parameter default to empty array in Input and Output Sep 11, 2025
@OskarStark OskarStark force-pushed the add-default-options-array branch 2 times, most recently from 0b029f9 to 755400d Compare September 11, 2025 15:38
@chr-hertel
Copy link
Member

how did you end up needing this default? I think it's always there due to the default in the Agent itself:

public function call(MessageBag $messages, array $options = []): ResultInterface

@OskarStark
Copy link
Contributor Author

It just raised my attention in a test. Feel free to close

@OskarStark OskarStark force-pushed the add-default-options-array branch from 755400d to dcb7f3a Compare September 12, 2025 07:34
@OskarStark OskarStark merged commit 174e1e9 into symfony:main Sep 12, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Agent Issues & PRs about the AI Agent component Feature New feature Status: Needs Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants