This commit is contained in:
team 1
2026-04-30 18:41:26 +02:00
parent b3b294bfc2
commit 6c2c595a1c
2 changed files with 82 additions and 12 deletions

View File

@@ -0,0 +1,33 @@
# RetrieX Patch 9.0a - PromptBuilder basis YAML-only
This patch converts only the simple PromptBuilder basis, budget and shop-result limit values to required YAML configuration access.
Changed file:
- `src/Config/PromptBuilderConfig.php`
Converted to required YAML-only access:
- `budget.chars_per_token`
- `budget.history_padding_chars`
- `budget.output_reserve_ratio`
- `budget.output_reserve_min_tokens`
- `budget.output_reserve_max_tokens`
- `budget.safety_reserve_ratio`
- `budget.safety_reserve_min_tokens`
- `budget.safety_reserve_max_tokens`
- `budget.min_prompt_budget_tokens`
- `shop_results.max_results_in_prompt`
- `shop_results.detailed_max_count`
- `technical_product_keyword_match_threshold`
No prompt wording rules, fact-grounding rules, retrieval logic, shop logic, AgentRunner logic, or SSE/frontend code is changed.
After applying, run:
```bash
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
```