We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 795882b + f7835a4 commit 7c73765Copy full SHA for 7c73765
src/services/copilot/create-responses.ts
@@ -22,6 +22,7 @@ export interface ResponsesPayload {
22
store?: boolean | null
23
reasoning?: Reasoning | null
24
include?: Array<ResponseIncludable>
25
+ service_tier?: string | null // NOTE: Unsupported by GitHub Copilot
26
[key: string]: unknown
27
}
28
@@ -336,6 +337,9 @@ export const createResponses = async (
336
337
"X-Initiator": initiator,
338
339
340
+ // service_tier is not supported by github copilot
341
+ payload.service_tier = null
342
+
343
const response = await fetch(`${copilotBaseUrl(state)}/responses`, {
344
method: "POST",
345
headers,
0 commit comments