Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/config changes #1623

Merged
merged 2 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions backend/src/routes/v2/model/postModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import { parse } from '../../../utils/validate.js'

export const postModelSchema = z.object({
body: z.object({
name: z.string().min(1, 'You must provide a model name'),
kind: z.nativeEnum(EntryKind),
description: z.string().min(1, 'You must provide a model description'),
name: z.string().min(1, 'You must provide a model name').openapi({ example: 'Yolo v4' }),
kind: z.nativeEnum(EntryKind).openapi({ example: 'model' }),
description: z.string().min(1, 'You must provide a model description').openapi({ example: 'You only look once' }),
visibility: z.nativeEnum(EntryVisibility).optional().default(EntryVisibility.Public),
collaborators: z
.array(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,16 +173,12 @@ data:
modelMirror: {
import: {
enabled: {{ .Values.modelMirror.import.enabled }},
}
},
export: {
enabled: {{ .Values.modelMirror.export.enabled }},
disclaimer: '{{ .Values.modelMirror.export.disclaimer }}'
}
},

"avScanning": {
enabled: {{ .Values.clamav.enabled }},
}
},

connectors: {
Expand Down Expand Up @@ -254,7 +250,7 @@ data:
authenticationToken: 'OTEL_EXPORTER_TOKEN',
},
inference: {
authorisationToken: 'INFERENCING_WRITE_TOKEN'
authorisationToken: 'INFERENCING_WRITE_TOKEN',
},
modelMirror: {
export: {
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/helm/bailo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ connectors:
kind: 'silly'

fileScanners:
kinds: ['clamAV']
kinds: []

instrumentation:
enabled: false
Expand Down
Loading