🏷️ fix: Ensure modelLabel Field Usage for ModelSpecs pt. 2 (#4225)

* fix: ensure modelSpec presets have endpointType defined, add `modelLabel` to openAISchema

* chore: bump rollup due to CVE-2024-47068
This commit is contained in:
Danny Avila 2024-09-24 09:52:22 -04:00 committed by GitHub
parent 6f498eee0f
commit ba1014a038
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 97 additions and 99 deletions

View file

@ -62,7 +62,7 @@
"jest": "^29.5.0",
"jest-junit": "^16.0.0",
"rimraf": "^5.0.1",
"rollup": "^3.26.0",
"rollup": "^4.22.4",
"rollup-plugin-generate-package-json": "^3.2.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-typescript2": "^0.35.0",

View file

@ -931,6 +931,7 @@ export const agentsSchema = tConversationSchema
export const openAISchema = tConversationSchema
.pick({
model: true,
modelLabel: true,
chatGptLabel: true,
promptPrefix: true,
temperature: true,