feat: localize interview questions (ko/en), send X-Lang header

This commit is contained in:
user
2026-04-27 21:00:57 +09:00
parent e9a58173b4
commit 592b6b1254
6 changed files with 71 additions and 11 deletions

View File

@@ -44,7 +44,7 @@ func (s *Service) CreateSession(_ context.Context, input CreateSessionInput) (Se
TargetRole: input.TargetRole,
Stack: append([]string(nil), input.Stack...),
InterviewTimeline: input.InterviewTimeline,
Questions: BackendDeveloperQuestions(),
Questions: BackendDeveloperQuestions(input.Lang),
CreatedAt: time.Now().UTC(),
}
if s.memory != nil {