Fix language consistency in job search and match emails
1. Pass session.Language to MatchJobRequest in cv-search-job so the LLM uses the correct language-specific prompt for job titles and summaries. 2. Replace hardcoded "Manual job description" with a template-driven label (email.match.manual-job-label) seeded in English and Romanian, so the match email subject and Job row reflect the user's language. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -172,7 +172,7 @@ public sealed class CvMatcherController : ControllerBase
|
||||
var attachmentPath = TryGetCachedCvPath(request.CvDocumentId);
|
||||
var jobLabel = !string.IsNullOrWhiteSpace(request.JobUrl)
|
||||
? request.JobUrl
|
||||
: "Manual job description";
|
||||
: _emailSender.GetManualJobLabel(language);
|
||||
|
||||
var language = NormalizeLanguage(request.Language);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user