Skip to content

Commit 13a83c0

Browse files
authored
add default snippets (microsoft#3159)
1 parent 85cd690 commit 13a83c0

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

package.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1862,6 +1862,23 @@
18621862
},
18631863
"models": {
18641864
"type": "array",
1865+
"defaultSnippets": [
1866+
{
1867+
"label": "New Model",
1868+
"description": "Add a new custom model configuration",
1869+
"body": [
1870+
{
1871+
"id": "$1",
1872+
"name": "$2",
1873+
"url": "$3",
1874+
"toolCalling": "^${4|true,false|}",
1875+
"vision": "^${5|true,false|}",
1876+
"maxInputTokens": "^${6:128000}",
1877+
"maxOutputTokens": "^${7:16000}"
1878+
}
1879+
]
1880+
}
1881+
],
18651882
"items": {
18661883
"type": "object",
18671884
"properties": {
@@ -1925,6 +1942,7 @@
19251942
}
19261943
},
19271944
"required": [
1945+
"id",
19281946
"name",
19291947
"url",
19301948
"toolCalling",
@@ -1951,6 +1969,23 @@
19511969
},
19521970
"models": {
19531971
"type": "array",
1972+
"defaultSnippets": [
1973+
{
1974+
"label": "New Model",
1975+
"description": "Add a new custom model configuration",
1976+
"body": [
1977+
{
1978+
"id": "$1",
1979+
"name": "$2",
1980+
"url": "$3",
1981+
"toolCalling": "^${4|true,false|}",
1982+
"vision": "^${5|true,false|}",
1983+
"maxInputTokens": "^${6:128000}",
1984+
"maxOutputTokens": "^${7:16000}"
1985+
}
1986+
]
1987+
}
1988+
],
19541989
"items": {
19551990
"type": "object",
19561991
"properties": {
@@ -2001,6 +2036,7 @@
20012036
}
20022037
},
20032038
"required": [
2039+
"id",
20042040
"name",
20052041
"url",
20062042
"toolCalling",

0 commit comments

Comments
 (0)