解决 code 内部颜色重叠的问题
This commit is contained in:
parent
b7a4ab8706
commit
698bbf0f84
@ -124,7 +124,7 @@ a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.openmcp-code-block pre code {
|
.openmcp-code-block pre code {
|
||||||
background-color: none !important;
|
background-color: transparent !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.openmcp-code-block pre code::-webkit-scrollbar {
|
.openmcp-code-block pre code::-webkit-scrollbar {
|
||||||
@ -133,8 +133,7 @@ a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tool-arguments .openmcp-code-block pre code {
|
.tool-arguments .openmcp-code-block pre code {
|
||||||
background: var(--el-fill-color-light);
|
background: transparent !important;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.openmcp-code-block pre code::-webkit-scrollbar-track {
|
.openmcp-code-block pre code::-webkit-scrollbar-track {
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
height: inherit;
|
height: inherit;
|
||||||
display: block;
|
display: block;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
background-color: unset !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.vscode-dark :not(pre)>code[class*=language-],
|
.vscode-dark :not(pre)>code[class*=language-],
|
||||||
@ -251,6 +252,7 @@
|
|||||||
height: inherit;
|
height: inherit;
|
||||||
display: block;
|
display: block;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
background-color: unset !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.vscode-light :not(pre)>code[class*=language-],
|
.vscode-light :not(pre)>code[class*=language-],
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"currentIndex": 1,
|
"currentIndex": 2,
|
||||||
"tabs": [
|
"tabs": [
|
||||||
{
|
{
|
||||||
"name": "交互测试",
|
"name": "交互测试",
|
||||||
@ -143,6 +143,49 @@
|
|||||||
"storage": {
|
"storage": {
|
||||||
"currentResourceName": "greeting"
|
"currentResourceName": "greeting"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "交互测试",
|
||||||
|
"icon": "icon-robot",
|
||||||
|
"type": "blank",
|
||||||
|
"componentIndex": 3,
|
||||||
|
"storage": {
|
||||||
|
"messages": [],
|
||||||
|
"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
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "get_weather_by_city_code",
|
||||||
|
"description": "根据城市天气预报的城市编码 (int),获取指定城市的天气信息",
|
||||||
|
"enabled": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"enableWebSearch": false,
|
||||||
|
"temperature": 0.7,
|
||||||
|
"contextLength": 10,
|
||||||
|
"systemPrompt": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user