Skip to content

Commit 5092cc0

Browse files
committed
feat(schema): add modelType field with predefined options to JSON schema #271
1 parent f4cf935 commit 5092cc0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

core/src/main/resources/cc/unitmesh/devti/custom/schema/autodev-custom-llms.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@
1616
"required": ["type", "token"]
1717
},
1818
"requestFormat": { "type": "string" },
19-
"responseFormat": { "type": "string" }
19+
"responseFormat": { "type": "string" },
20+
"modelType": {
21+
"type": "string",
22+
"enum": ["Default", "Plan", "Act", "Completion", "Embedding", "FastApply"],
23+
"default": "Default"
24+
}
2025
},
2126
"required": ["name", "description", "url", "auth", "requestFormat", "responseFormat"]
2227
}

0 commit comments

Comments
 (0)