fix azure gpt config
This commit is contained in:
@@ -82,8 +82,14 @@ export namespace ProviderTransform {
|
|||||||
return undefined
|
return undefined
|
||||||
}
|
}
|
||||||
|
|
||||||
export function options(_providerID: string, modelID: string) {
|
export function options(providerID: string, modelID: string): Record<string, any> | undefined {
|
||||||
if (modelID.includes("gpt-5")) {
|
if (modelID.includes("gpt-5")) {
|
||||||
|
if (providerID === "azure") {
|
||||||
|
return {
|
||||||
|
reasoning_effort: "minimal",
|
||||||
|
text_verbosity: "verbose",
|
||||||
|
}
|
||||||
|
}
|
||||||
return {
|
return {
|
||||||
reasoningEffort: "minimal",
|
reasoningEffort: "minimal",
|
||||||
textVerbosity: "low",
|
textVerbosity: "low",
|
||||||
|
|||||||
Reference in New Issue
Block a user