All agent prompts are now stored in app.prompt_templates (migration 20260519000000)
and editable by admins via the new AI Prompts CRUD page. If no DB entry exists
for a key the hardcoded default is used automatically as fallback.
PromptTemplateService renders templates with {{variable}} substitution.
All four agents (SpecsResearch, JsonCoding, EbayText, OllamaVision) use the service.
SpecsResearchAgent now receives the articleType name (e.g. "Laptop") so the
specs prompt is scoped to the correct device category instead of being generic.
SpecsResearchHandler loads the ArticleType from the repository for this purpose.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Version20260514043343.php | ||
| Version20260514050204.php | ||
| Version20260514053908.php | ||
| Version20260514054123.php | ||
| Version20260514054903.php | ||
| Version20260517222701.php | ||
| Version20260517230000.php | ||
| Version20260517240000.php | ||
| Version20260519000000.php | ||