Content
View differences
Updated by Dominic Bräunlein 1 day ago
**As** a user of an LLM interacting with OpenProject
**I want to** remove the HTML portion of formattables from MCP responses,
**so that** costs for running language models are kept lower and smaller language models can still use the results.
**Acceptance criteria**
* The `html` of formattable properties is stripped from results results
* Only one representation of the description is `type` and `raw` are preserved and directly mapped to the attribute "description"
* Needs discussion which one
* ~~The The corresponding MCP output schema is adapted accordingly (without making the API schema worse)~~
* see ##AI-67
worse)
**Technical context**
A quick analysis on 500 work packages from Community showed that the HTML description of work packages makes up about 20% of the total result size for a work package collection (in Bytes).
**I want to** remove the HTML portion of formattables from MCP responses,
**so that** costs for running language models are kept lower and smaller language models can still use the results.
**Acceptance criteria**
* The `html` of formattable properties is stripped from results
* Only one representation of the description is
* Needs discussion which one
* ~~The
* see ##AI-67
A quick analysis on 500 work packages from Community showed that the HTML description of work packages makes up about 20% of the total result size for a work package collection (in Bytes).