fix azure gpt config

This commit is contained in:
Dax Raad
2025-08-11 10:54:51 -04:00
parent c51a34bf4b
commit 279edb6f24

View File

@@ -82,8 +82,14 @@ export namespace ProviderTransform {
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 (providerID === "azure") {
return {
reasoning_effort: "minimal",
text_verbosity: "verbose",
}
}
return {
reasoningEffort: "minimal",
textVerbosity: "low",