fix(styles): providers access token

This commit is contained in:
jialin
2026-02-03 18:21:08 +08:00
parent 26e3a1944b
commit 497813eced
29 changed files with 294 additions and 106 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ const ModelItem: React.FC<ModelItemProps> = ({
const res = await runTestModel({
data: {
model_name: item.name,
api_token: form.getFieldValue('api_tokens')?.[0] || '',
api_token: form.getFieldValue('api_key') || '',
config: {
type: form.getFieldValue(['config', 'type']) || ''
}