1.5 KiB
1.5 KiB
RetrieX Patch 11.0a - Strict YAML Default Cleanup
This patch removes the remaining model-generation constructor defaults and cleans up two CommerceQueryParser audit false positives.
Scope
Changed files:
src/Config/ModelGenerationDefaultsConfig.phpsrc/Config/CommerceQueryParserConfig.php
What changed
ModelGenerationDefaultsConfig
The constructor no longer contains PHP fallback values for model defaults. All values must now come from the existing Symfony service parameters, which are backed by config/retriex/model.yaml:
retriex.model.default_nameretriex.model.default_streamretriex.model.default_temperatureretriex.model.default_top_kretriex.model.default_top_pretriex.model.default_repeat_penaltyretriex.model.default_num_ctxretriex.model.default_retrieval_max_chunksretriex.model.default_retrieval_vector_top_k
CommerceQueryParserConfig
The whitespace-preserving normalization lists now use a dedicated helper instead of passing true as a second argument to stringList(). This keeps behavior unchanged, but prevents the source audit from interpreting the boolean argument as a PHP fallback.
Intentional non-changes
No retrieval, prompt, shop, agent, SSE, or runtime behavior was changed.
Recommended validation
php bin/console cache:clear
php bin/console mto:agent:config:validate
php bin/console mto:agent:config:audit-source --details
php bin/console mto:agent:regression:test