Skip to content

Commit 025be44

Browse files
author
sd109
committed
Remove chat template from UI options
This is probably unwise to have in UI options from a security standpoint due to the use of Jinja templating in the CAPI addon provider.
1 parent 69041e5 commit 025be44

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

chart/azimuth-ui.schema.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ controls:
55
/huggingface/token:
66
type: TextControl
77
secret: true
8-
/huggingface/chatTemplate:
9-
type: TextControl
108
/ui/appSettings/hf_model_instruction:
119
type: TextControl
1210
/ui/appSettings/page_title:

chart/values.schema.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@
1111
"description": "The [HuggingFace model](https://huggingface.co/models) to deploy (see [here](https://github.com/stackhpc/azimuth-llm?tab=readme-ov-file#tested-models) for a list of tested models).",
1212
"default": "mistralai/Mistral-7B-Instruct-v0.2"
1313
},
14-
"chatTemplate": {
15-
"type": ["string", "null"],
16-
"title": "Chat Template",
17-
"description": "An optional chat template override for the model (see [here](https://huggingface.co/blog/chat-templates) for more information)."
18-
},
1914
"token": {
2015
"type": ["string", "null"],
2116
"title": "Access Token",

0 commit comments

Comments
 (0)