Skip to content

Commit

Permalink
Merge pull request #64 from MARU-EGG/TSK-999-HotFix
Browse files Browse the repository at this point in the history
refactor: detail type question add korean type
  • Loading branch information
swgvenghy authored Dec 2, 2024
2 parents a4e892b + 037b275 commit f4eb5e4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/hooks/use-preset-button.hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ const usePresetButton = () => {
addMessage({ content: 'loading', role: 'system' });
setLoading(true);

const response = await fetchResponse(`${detailTypeName}에 대해 설명해줘 단 아래의 출력 형식을 반드시 따라줘
const korean_type = type === 'SUSI' ? '수시' : type === 'JEONGSI' ? '정시' : '편입';

const response =
await fetchResponse(`${korean_type}${detailTypeName}전형에 대해 설명해줘 단 아래의 출력 형식을 반드시 따라줘
**[전형제목]**
**[전형방법]**
**[지원자격]**
Expand Down

0 comments on commit f4eb5e4

Please sign in to comment.