Skip to content

Commit 65239b3

Browse files
committed
Skip the alias
Signed-off-by: Travis Angevine <[email protected]>
1 parent 7b1e6e1 commit 65239b3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

specification/ai/ModelClient/models/chat_completions.tsp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,13 @@ model ChatCompletionsOptions {
120120
""")
121121
`model`?: string;
122122

123-
...AdditionalRequestHeaders;
123+
@doc("""
124+
Controls what happens if extra parameters, undefined by the REST API,
125+
are passed in the JSON request payload.
126+
This sets the HTTP request header `extra-parameters`.
127+
""")
128+
@header("extra-parameters")
129+
extra_params?: ExtraParameters;
124130

125131
...Record<unknown>;
126132
}

0 commit comments

Comments
 (0)