Commit c8b799d 1 parent 7262af0 commit c8b799d Copy full SHA for c8b799d
File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 36
36
"@yunlefun/utils" : " 0.1.2-beta.4" ,
37
37
"consola" : " ^3.2.3" ,
38
38
"copy-image-clipboard" : " ^2.1.2" ,
39
- "eslint-plugin-format" : " ^0.1.0" ,
40
39
"eslint" : " npm:eslint-ts-patch@^8.56.0-0" ,
40
+ "eslint-plugin-format" : " ^0.1.0" ,
41
41
"eslint-ts-patch" : " ^8.56.0-0" ,
42
42
"html-to-image" : " ^1.11.11" ,
43
43
"nuxt" : " ^3.10.1" ,
Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ export async function getCouplets(prompt: string) {
44
44
const messages : OpenAI . ChatCompletionMessageParam [ ] = [
45
45
{
46
46
role : 'system' ,
47
- content : tooltip . join ( '\n' ) ,
48
- }
47
+ content : tooltip ,
48
+ } ,
49
49
]
50
50
51
51
if ( prompt )
Original file line number Diff line number Diff line change @@ -15,5 +15,8 @@ export const baseModel = process.env.MODEL_NAME || 'deepseek-chat'
15
15
16
16
export const baseChatCompletionCreateParams : Partial < OpenAI . ChatCompletionCreateParamsNonStreaming > = {
17
17
max_tokens : 100 ,
18
+ // TODO: for use control
19
+ // presence_penalty: 0,
20
+ // frequency_penalty: 0,
18
21
// stream: true
19
22
}
You can’t perform that action at this time.
0 commit comments