mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 02:35:55 +08:00
fix: glm models prices and max_tokens correction (#7882)
This commit is contained in:
parent
5e4907e940
commit
3f2a806abe
@ -38,7 +38,7 @@ parameter_rules:
|
|||||||
min: 1
|
min: 1
|
||||||
max: 8192
|
max: 8192
|
||||||
pricing:
|
pricing:
|
||||||
input: '0.0001'
|
input: '0'
|
||||||
output: '0.0001'
|
output: '0'
|
||||||
unit: '0.001'
|
unit: '0.001'
|
||||||
currency: RMB
|
currency: RMB
|
||||||
|
@ -37,3 +37,8 @@ parameter_rules:
|
|||||||
default: 1024
|
default: 1024
|
||||||
min: 1
|
min: 1
|
||||||
max: 8192
|
max: 8192
|
||||||
|
pricing:
|
||||||
|
input: '0.001'
|
||||||
|
output: '0.001'
|
||||||
|
unit: '0.001'
|
||||||
|
currency: RMB
|
||||||
|
@ -37,3 +37,8 @@ parameter_rules:
|
|||||||
default: 1024
|
default: 1024
|
||||||
min: 1
|
min: 1
|
||||||
max: 8192
|
max: 8192
|
||||||
|
pricing:
|
||||||
|
input: '0.1'
|
||||||
|
output: '0.1'
|
||||||
|
unit: '0.001'
|
||||||
|
currency: RMB
|
||||||
|
@ -30,4 +30,9 @@ parameter_rules:
|
|||||||
use_template: max_tokens
|
use_template: max_tokens
|
||||||
default: 1024
|
default: 1024
|
||||||
min: 1
|
min: 1
|
||||||
max: 4096
|
max: 8192
|
||||||
|
pricing:
|
||||||
|
input: '0.001'
|
||||||
|
output: '0.001'
|
||||||
|
unit: '0.001'
|
||||||
|
currency: RMB
|
||||||
|
@ -37,3 +37,8 @@ parameter_rules:
|
|||||||
default: 1024
|
default: 1024
|
||||||
min: 1
|
min: 1
|
||||||
max: 8192
|
max: 8192
|
||||||
|
pricing:
|
||||||
|
input: '0.05'
|
||||||
|
output: '0.05'
|
||||||
|
unit: '0.001'
|
||||||
|
currency: RMB
|
||||||
|
@ -34,4 +34,9 @@ parameter_rules:
|
|||||||
use_template: max_tokens
|
use_template: max_tokens
|
||||||
default: 1024
|
default: 1024
|
||||||
min: 1
|
min: 1
|
||||||
max: 8192
|
max: 1024
|
||||||
|
pricing:
|
||||||
|
input: '0.05'
|
||||||
|
output: '0.05'
|
||||||
|
unit: '0.001'
|
||||||
|
currency: RMB
|
||||||
|
@ -34,4 +34,9 @@ parameter_rules:
|
|||||||
use_template: max_tokens
|
use_template: max_tokens
|
||||||
default: 1024
|
default: 1024
|
||||||
min: 1
|
min: 1
|
||||||
max: 8192
|
max: 1024
|
||||||
|
pricing:
|
||||||
|
input: '0.01'
|
||||||
|
output: '0.01'
|
||||||
|
unit: '0.001'
|
||||||
|
currency: RMB
|
||||||
|
Loading…
x
Reference in New Issue
Block a user