Skip to content

Commit 8e7b33d

Browse files
authored
21 feature request reasoning effort and chain of thought with o4 mini (#22)
* Add reasoning_effort * Add new Model
1 parent 72f74b2 commit 8e7b33d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

pipelines/azure/azure_ai_foundry.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
author_url: https://github.com/owndev
55
project_url: https://github.com/owndev/Open-WebUI-Functions
66
funding_url: https://github.com/owndev/Open-WebUI-Functions
7-
version: 2.2.0
7+
version: 2.2.1
88
license: Apache License 2.0
99
description: A pipeline for interacting with Azure AI services, enabling seamless communication with various AI models via configurable headers and robust error handling. This includes support for Azure OpenAI models as well as other Azure AI models by dynamically managing headers and request configurations.
1010
features:
@@ -315,6 +315,7 @@ def get_azure_models(self) -> List[Dict[str, str]]:
315315
{"id": "Phi-4", "name": "Phi-4"},
316316
{"id": "Phi-4-mini-instruct", "name": "Phi-4 mini instruct"},
317317
{"id": "Phi-4-multimodal-instruct", "name": "Phi-4 multimodal instruct"},
318+
{"id": "MAI-DS-R1", "name": "Microsoft Deepseek R1"},
318319
]
319320

320321
def pipes(self) -> List[Dict[str, str]]:
@@ -379,6 +380,7 @@ async def pipe(
379380
"frequency_penalty",
380381
"max_tokens",
381382
"presence_penalty",
383+
"reasoning_effort",
382384
"response_format",
383385
"seed",
384386
"stop",

0 commit comments

Comments
 (0)