mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-29 01:03:17 +00:00
* test(e2e): cover responses API gaps on gemini, azure, compact and context management * test(e2e): assert streamed usage cost and split anthropic strict schema test * test(e2e): assert compaction items and final stream event in responses e2e --------- Co-authored-by: yuneng <yuneng@berri.ai>
17 lines
478 B
Python
17 lines
478 B
Python
from __future__ import annotations
|
|
|
|
from typing import Final
|
|
|
|
from models import LiteLLMParamsBody
|
|
|
|
AZURE_OPENAI_BACKEND: Final = "azure/gpt-5.4-nano"
|
|
AZURE_OPENAI_API_VERSION: Final = "v1"
|
|
|
|
|
|
def azure_openai_params(api_version: str = AZURE_OPENAI_API_VERSION) -> LiteLLMParamsBody:
|
|
return LiteLLMParamsBody(
|
|
model=AZURE_OPENAI_BACKEND,
|
|
api_base="os.environ/AZURE_API_BASE",
|
|
api_key="os.environ/AZURE_API_KEY",
|
|
api_version=api_version,
|
|
)
|