Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion specs/openapi-baseline.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/amigo_sdk/generated/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -8420,6 +8420,8 @@ class LLMType(Enum):
openai_gpt_5_6_luna = 'openai_gpt-5.6-luna'
google_gemini_2_5_pro = 'google_gemini-2.5-pro'
google_gemini_2_5_flash = 'google_gemini-2.5-flash'
google_gemini_3_5_flash = 'google_gemini-3.5-flash'
google_gemini_3_5_flash_lite = 'google_gemini-3.5-flash-lite'


class MP3UserMessageAudioConfig(BaseModel):
Expand Down
11 changes: 11 additions & 0 deletions tests/test_current_contract_models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
"""Regressions for response and request shapes in the current Classic contract."""

import pytest

from amigo_sdk.generated.model import (
LLMConfigInput,
LLMType,
MetricCreateMetricRequest,
OrganizationCreateAgentVersionResponse,
Expand Down Expand Up @@ -31,3 +34,11 @@ def test_metric_creation_accepts_initial_version_contract():

def test_current_model_identifier_can_be_deserialized():
assert LLMType("openai_gpt-5.6-sol").value == "openai_gpt-5.6-sol"


@pytest.mark.parametrize(
"llm_name", ["google_gemini-3.5-flash", "google_gemini-3.5-flash-lite"]
)
def test_llm_config_accepts_gemini_3_5_ids(llm_name):
config = LLMConfigInput.model_validate({"llm_name": llm_name})
assert config.model_dump(mode="json")["llm_name"] == llm_name
Loading