Skip to content

Commit 264c978

Browse files
committed
Fix ValidateSet in server.ps1
1 parent 2d04c87 commit 264c978

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/server.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Param (
6767
[Parameter(
6868
HelpMessage="The chat template."
6969
)]
70-
[ValidateSetAttribute(
70+
[ValidateSet(
7171
"chatml",
7272
"command-r",
7373
"deepseek",
@@ -118,7 +118,7 @@ Param (
118118
[Parameter(
119119
HelpMessage="Specifies the KV cache data type."
120120
)]
121-
[ValidateSetAttribute("f32", "f16", "q8_0", "q4_0")]
121+
[ValidateSet("f32", "f16", "q8_0", "q4_0")]
122122
[String]
123123
$kvCacheDataType="f16",
124124

vendor/llama.cpp

0 commit comments

Comments
 (0)