fix(cv): preserve rewrite language and qualify responsive document controls

This commit is contained in:
cesnimda
2026-10-25 22:55:22 +01:00
parent 2bfaf6c14b
commit 8948c988e2
12 changed files with 822 additions and 5 deletions
+1 -1
View File
@@ -315,7 +315,7 @@ public sealed class AiWorkspaceService : IAiWorkspaceService
private static string CoverLetterPrompt(string mode, string candidateName, string action, string languageInstruction) =>
$"{CoverLetterAction(action)} for {(string.IsNullOrWhiteSpace(candidateName) ? "the candidate" : candidateName)} for this role in a "
+ $"{ModeGuidance(mode)} {languageInstruction} {(action is "improve" or "grammar" or "shorten" ? "Preserve the source language and meaning; do not translate." : "")} Connect specific, supported experience to the job's requirements, acknowledge transferable experience honestly, and ground every claim in the linked CV. Return only the letter body.";
+ $"{ModeGuidance(mode)} {(action is "improve" or "grammar" or "shorten" ? "Preserve the source language and meaning; do not translate." : languageInstruction)} Connect specific, supported experience to the job's requirements, acknowledge transferable experience honestly, and ground every claim in the linked CV. Return only the letter body.";
private static string CoverLetterAction(string action) => action switch
{