Skip to content

Commit 4a82702

Browse files
perf: xf-yun max_tokens
1 parent 94fa246 commit 4a82702

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

frontend/src/entity/supplier.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,10 @@ export const supplierList: Array<{
106106
model_config: {
107107
0: {
108108
api_domain: 'https://spark-api-open.xf-yun.com/v1/',
109-
common_args: [{ key: 'temperature', val: 1.0, type: 'number', range: '[0, 2]' }],
109+
common_args: [
110+
{ key: 'temperature', val: 1.0, type: 'number', range: '[0, 2]' },
111+
{ key: 'max_tokens', val: 4096, type: 'number', range: '[1, 32768]' },
112+
],
110113
model_options: [
111114
{
112115
name: '4.0Ultra',

0 commit comments

Comments
 (0)