mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 02:41:09 +02:00
The plan's open question on title-handling — "Topic = initialer Titel, beim ersten Generate Auto-Title-Vorschlag anbieten" — answered with a small ✨-button next to the title input. - prompt-builder: buildTitleSuggestionPrompt(input) returns a system+ user pair that asks for a single 4–8-word title in the briefing's language. System prompt is strict: no quotes, no period, no "Titel:" prefix, no Markdown — so the result drops cleanly into the input field. cleanSuggestedTitle() strips wrapping quotes (straight + curly, single + double + German „"), a "Titel:" prefix, and a trailing period as a defense-in-depth pass. - BriefingForm: ✨-button next to the title input, disabled until the topic field has content (the suggestion needs context). On click it calls callWritingGeneration with the title prompt + temperature 0.6 + maxTokens 60. In edit mode it pulls an excerpt of the current version (up to 800 chars) so the title hugs the actual prose, not just the briefing. - The button shows a "…" while running and an error inline if the call fails — non-blocking, the user can still type their own title and save. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api | ||
| calc/packages/shared | ||
| calendar | ||
| cards | ||
| chat | ||
| citycorners | ||
| contacts | ||
| context | ||
| docs | ||
| food | ||
| guides | ||
| inventory | ||
| mana | ||
| manavoxel | ||
| memoro | ||
| moodlit | ||
| mukke | ||
| news | ||
| photos | ||
| picture | ||
| plants | ||
| presi | ||
| questions | ||
| quotes/packages/content | ||
| skilltree | ||
| storage | ||
| times | ||
| todo | ||
| traces | ||
| uload | ||