Skip to content

Conversation

OskarStark
Copy link
Contributor

@OskarStark OskarStark commented Sep 22, 2025

Q A
Bug fix? no
New feature? yes
Docs? yes
Issues Refs #401
License MIT

@OskarStark OskarStark self-assigned this Sep 22, 2025
@OskarStark OskarStark added the AI Bundle Issues & PRs about the AI integration bundle label Sep 22, 2025
@carsonbot carsonbot changed the title Add support for query parameters in model configuration [AI Bundle] Add support for query parameters in model configuration Sep 22, 2025
@OskarStark OskarStark force-pushed the feature/model-query-parameters branch from 14fb5a5 to c7d1db6 Compare September 22, 2025 17:55
@chr-hertel
Copy link
Member

Is this for the DSN thingy or what are you aiming for?

@OskarStark
Copy link
Contributor Author

OskarStark commented Sep 22, 2025

And for the model catalog to be able to modify options, as the bundle will not provide a model object anymore, just a plain string

@OskarStark OskarStark force-pushed the feature/model-query-parameters branch 5 times, most recently from 9e84931 to e87ff52 Compare September 23, 2025 05:17
- Enable two model configuration formats:
  1. Query parameter style: model.name with ?key=value parameters
  2. Separate options style: model.name and model.options array
- Add validation to prevent using both formats simultaneously
- Use parse_url() for parsing query parameters
- Query parameter values remain as strings (no type conversion)
- Update demo configuration and documentation
- Add comprehensive test coverage for both formats
@OskarStark OskarStark force-pushed the feature/model-query-parameters branch from e87ff52 to 5d86763 Compare September 23, 2025 05:22
@OskarStark OskarStark merged commit fea5ba9 into symfony:main Sep 23, 2025
15 checks passed
@OskarStark OskarStark deleted the feature/model-query-parameters branch September 23, 2025 06:20
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.

3 participants