mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
perf: Tencent llm default args
This commit is contained in:
@@ -57,6 +57,7 @@ export const supplierList: Array<{
|
||||
model_config: {
|
||||
0: {
|
||||
api_domain: 'https://api.hunyuan.cloud.tencent.com/v1/',
|
||||
common_args: [{ key: 'temperature', val: 1.0, type: 'number', range: '[0, 2]' }],
|
||||
model_options: [
|
||||
{ name: 'hunyuan-turbos-latest' },
|
||||
{ name: 'hunyuan-turbos-longtext-128k-20250325' },
|
||||
|
||||
@@ -236,7 +236,7 @@ const getModelDefaultArgs = () => {
|
||||
common_args.push(...modelArgs)
|
||||
}
|
||||
const argMap = common_args.reduce((acc: any, item: any) => {
|
||||
acc.set(item.key, item)
|
||||
acc.set(item.key, { ...item, name: item.key })
|
||||
return acc
|
||||
}, new Map())
|
||||
return argMap
|
||||
|
||||
Reference in New Issue
Block a user