File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 23
23
{ value: ' vietnamese' , label: ' Vietnamese' },
24
24
{ value: ' finnish' , label: ' Finnish' },
25
25
{ value: ' portuguese' , label: ' Portuguese' },
26
- { value: ' polish' , label: ' Polish' }
26
+ { value: ' polish' , label: ' Polish' },
27
+ { value: ' traditionalChinese' , label: ' Traditional Chinese' }
27
28
];
28
29
29
30
onMount (() => {
Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ const validLanguages = [
22
22
'france' ,
23
23
'polish' ,
24
24
'vietnamese' ,
25
- 'arabic'
25
+ 'arabic' ,
26
+ 'traditionalChinese'
26
27
] ;
27
28
28
29
export async function POST ( { request, platform } ) {
@@ -160,6 +161,9 @@ export async function POST({ request, platform }) {
160
161
case 'portuguese' :
161
162
prompt = `faça uma crítica curta e dura para o seguinte perfil do github: ${ username } . Aqui estão os detalhes: "${ JSON . stringify ( datas ) } "` ;
162
163
break ;
164
+ case 'traditionalChinese' :
165
+ prompt = `請用正體中文及道地台灣俗語,對這個 GitHub 帳號殘酷地吐槽一番:${ username } 。以下是這個帳號的詳細資訊: "${ JSON . stringify ( datas ) } "` ;
166
+ break ;
163
167
}
164
168
165
169
// answerdebug += prompt + '\n';
You can’t perform that action at this time.
0 commit comments