mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
feat(fine-tuning): address greptile review feedback (greploop iteration 5)
- Remove unused FineTuningJob import from test - Document "canceling" → "cancelled" mapping in _AZURE_STATUS_MAP Made-with: Cursor
This commit is contained in:
parent
528bac5a27
commit
e635cee712
2 changed files with 2 additions and 1 deletions
|
|
@ -15,6 +15,8 @@ _AZURE_STATUS_MAP = {
|
|||
"canceled": "cancelled",
|
||||
"canceling": "cancelled",
|
||||
}
|
||||
# Note: Azure's "canceling" (in-progress) is mapped to "cancelled" (terminal)
|
||||
# because LiteLLMFineTuningJob schema has no intermediate cancellation state.
|
||||
|
||||
|
||||
def _normalize_fine_tuning_job_dict(
|
||||
|
|
|
|||
|
|
@ -616,7 +616,6 @@ async def test_mock_openai_retrieve_fine_tune_job():
|
|||
@pytest.mark.asyncio
|
||||
async def test_mock_azure_create_fine_tune_job_with_azure_specific_params():
|
||||
"""Test that Azure-specific parameters are passed through extra_body"""
|
||||
from openai.types.fine_tuning.fine_tuning_job import FineTuningJob
|
||||
from openai.types.fine_tuning.fine_tuning_job import Hyperparameters as OAIHyperparameters
|
||||
from litellm.types.utils import LiteLLMFineTuningJob
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue