52 lines
1.4 KiB
JSON
52 lines
1.4 KiB
JSON
{
|
|
"currentIndex": 0,
|
|
"tabs": [
|
|
{
|
|
"name": "交互测试",
|
|
"icon": "icon-robot",
|
|
"type": "blank",
|
|
"componentIndex": 3,
|
|
"storage": {
|
|
"messages": [
|
|
{
|
|
"role": "user",
|
|
"content": "test"
|
|
},
|
|
{
|
|
"role": "assistant",
|
|
"content": "错误: OpenAI API error: 422 Failed to deserialize the JSON body into the target type: tools[0]: missing field `type` at line 31 column 5"
|
|
}
|
|
],
|
|
"settings": {
|
|
"modelIndex": 0,
|
|
"enableTools": [
|
|
{
|
|
"name": "add",
|
|
"description": "对两个数字进行实数域的加法",
|
|
"enabled": true
|
|
},
|
|
{
|
|
"name": "multiply",
|
|
"description": "对两个数字进行实数域的乘法运算",
|
|
"enabled": true
|
|
},
|
|
{
|
|
"name": "is_even",
|
|
"description": "判断一个整数是否为偶数",
|
|
"enabled": true
|
|
},
|
|
{
|
|
"name": "capitalize",
|
|
"description": "将字符串首字母大写",
|
|
"enabled": true
|
|
}
|
|
],
|
|
"enableWebSearch": false,
|
|
"temperature": 0.7,
|
|
"contextLength": 10,
|
|
"systemPrompt": ""
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |