.venv/lib/python3.12/site-packages/litellm/types/llms/anthropic.py:531
  /Users/davidberenstein/conductor/workspaces/dspydantic/kingston/.venv/lib/python3.12/site-packages/litellm/types/llms/anthropic.py:531: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.12/migration/
    class AnthropicResponseContentBlockToolUse(BaseModel):

.venv/lib/python3.12/site-packages/litellm/types/rag.py:181
  /Users/davidberenstein/conductor/workspaces/dspydantic/kingston/.venv/lib/python3.12/site-packages/litellm/types/rag.py:181: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.12/migration/
    class RAGIngestRequest(BaseModel):

tests/integration/test_miprov2_descriptions.py::test_medical_record_optimization[miprov2zeroshot]
  /Users/davidberenstein/conductor/workspaces/dspydantic/kingston/.venv/lib/python3.12/site-packages/litellm/_service_logger.py:59: DeprecationWarning: There is no current event loop
    loop = asyncio.get_event_loop()

tests/integration/test_miprov2_descriptions.py::test_medical_record_optimization[miprov2zeroshot]
tests/integration/test_miprov2_descriptions.py::test_reservation_descriptions_not_meta_instructions[miprov2zeroshot]
tests/integration/test_miprov2_descriptions.py::test_transaction_descriptions_not_meta_instructions[miprov2zeroshot]
tests/integration/test_miprov2_descriptions.py::test_sequential_optimization_shows_improvement
tests/integration/test_miprov2_descriptions.py::test_auto_generate_prompts
tests/integration/test_miprov2_descriptions.py::test_optimizer_compatibility[miprov2zeroshot]
  /Users/davidberenstein/conductor/workspaces/dspydantic/kingston/.venv/lib/python3.12/site-packages/pydantic/main.py:464: UserWarning: Pydantic serializer warnings:
    PydanticSerializationUnexpectedValue(Expected 10 fields but got 6: Expected `Message` - serialized value may not be as expected [field_name='message', input_value=Message(content='[[ ## pr...: None}, annotations=[]), input_type=Message])
    PydanticSerializationUnexpectedValue(Expected `StreamingChoices` - serialized value may not be as expected [field_name='choices', input_value=Choices(finish_reason='st...ider_specific_fields={}), input_type=Choices])
    return self.__pydantic_serializer__.to_python(

tests/integration/test_miprov2_descriptions.py::test_medical_record_optimization[miprov2zeroshot]
tests/integration/test_miprov2_descriptions.py::test_reservation_descriptions_not_meta_instructions[miprov2zeroshot]
tests/integration/test_miprov2_descriptions.py::test_transaction_descriptions_not_meta_instructions[miprov2zeroshot]
tests/integration/test_miprov2_descriptions.py::test_sequential_optimization_shows_improvement
tests/integration/test_miprov2_descriptions.py::test_auto_generate_prompts
tests/integration/test_miprov2_descriptions.py::test_optimizer_compatibility[miprov2zeroshot]
  /Users/davidberenstein/conductor/workspaces/dspydantic/kingston/.venv/lib/python3.12/site-packages/pydantic/main.py:464: UserWarning: Pydantic serializer warnings:
    PydanticSerializationUnexpectedValue(Expected 10 fields but got 6: Expected `Message` - serialized value may not be as expected [field_name='message', input_value=Message(content='[[ ## mo...: None}, annotations=[]), input_type=Message])
    PydanticSerializationUnexpectedValue(Expected `StreamingChoices` - serialized value may not be as expected [field_name='choices', input_value=Choices(finish_reason='st...ider_specific_fields={}), input_type=Choices])
    return self.__pydantic_serializer__.to_python(

tests/integration/test_miprov2_descriptions.py::test_medical_record_optimization[miprov2zeroshot]
tests/integration/test_miprov2_descriptions.py::test_reservation_descriptions_not_meta_instructions[miprov2zeroshot]
tests/integration/test_miprov2_descriptions.py::test_transaction_descriptions_not_meta_instructions[miprov2zeroshot]
tests/integration/test_miprov2_descriptions.py::test_sequential_optimization_shows_improvement
tests/integration/test_miprov2_descriptions.py::test_auto_generate_prompts
tests/integration/test_miprov2_descriptions.py::test_optimizer_compatibility[miprov2zeroshot]
  /Users/davidberenstein/conductor/workspaces/dspydantic/kingston/.venv/lib/python3.12/site-packages/pydantic/main.py:464: UserWarning: Pydantic serializer warnings:
    PydanticSerializationUnexpectedValue(Expected 10 fields but got 6: Expected `Message` - serialized value may not be as expected [field_name='message', input_value=Message(content="[[ ## pr...: None}, annotations=[]), input_type=Message])
    PydanticSerializationUnexpectedValue(Expected `StreamingChoices` - serialized value may not be as expected [field_name='choices', input_value=Choices(finish_reason='st...ider_specific_fields={}), input_type=Choices])
    return self.__pydantic_serializer__.to_python(

tests/integration/test_miprov2_descriptions.py::test_medical_record_optimization[miprov2zeroshot]
tests/integration/test_miprov2_descriptions.py::test_reservation_descriptions_not_meta_instructions[miprov2zeroshot]
tests/integration/test_miprov2_descriptions.py::test_transaction_descriptions_not_meta_instructions[miprov2zeroshot]
tests/integration/test_miprov2_descriptions.py::test_sequential_optimization_shows_improvement
tests/integration/test_miprov2_descriptions.py::test_auto_generate_prompts
tests/integration/test_miprov2_descriptions.py::test_optimizer_compatibility[miprov2zeroshot]
  /Users/davidberenstein/conductor/workspaces/dspydantic/kingston/.venv/lib/python3.12/site-packages/pydantic/main.py:464: UserWarning: Pydantic serializer warnings:
    PydanticSerializationUnexpectedValue(Expected 10 fields but got 6: Expected `Message` - serialized value may not be as expected [field_name='message', input_value=Message(content="[[ ## mo...: None}, annotations=[]), input_type=Message])
    PydanticSerializationUnexpectedValue(Expected `StreamingChoices` - serialized value may not be as expected [field_name='choices', input_value=Choices(finish_reason='st...ider_specific_fields={}), input_type=Choices])
    return self.__pydantic_serializer__.to_python(

tests/integration/test_miprov2_descriptions.py::test_medical_record_optimization[miprov2zeroshot]
tests/integration/test_miprov2_descriptions.py::test_reservation_descriptions_not_meta_instructions[miprov2zeroshot]
tests/integration/test_miprov2_descriptions.py::test_transaction_descriptions_not_meta_instructions[miprov2zeroshot]
tests/integration/test_miprov2_descriptions.py::test_skip_field_description_preserves_originals
tests/integration/test_miprov2_descriptions.py::test_sequential_optimization_shows_improvement
tests/integration/test_miprov2_descriptions.py::test_auto_generate_prompts
tests/integration/test_miprov2_descriptions.py::test_optimizer_compatibility[miprov2zeroshot]
  /Users/davidberenstein/conductor/workspaces/dspydantic/kingston/.venv/lib/python3.12/site-packages/pydantic/main.py:464: UserWarning: Pydantic serializer warnings:
    PydanticSerializationUnexpectedValue(Expected 10 fields but got 6: Expected `Message` - serialized value may not be as expected [field_name='message', input_value=Message(content='[[ ## re...: None}, annotations=[]), input_type=Message])
    PydanticSerializationUnexpectedValue(Expected `StreamingChoices` - serialized value may not be as expected [field_name='choices', input_value=Choices(finish_reason='st...ider_specific_fields={}), input_type=Choices])
    return self.__pydantic_serializer__.to_python(

tests/integration/test_miprov2_descriptions.py::test_medical_record_optimization[miprov2zeroshot]
tests/integration/test_miprov2_descriptions.py::test_reservation_descriptions_not_meta_instructions[miprov2zeroshot]
tests/integration/test_miprov2_descriptions.py::test_transaction_descriptions_not_meta_instructions[miprov2zeroshot]
tests/integration/test_miprov2_descriptions.py::test_skip_field_description_preserves_originals
tests/integration/test_miprov2_descriptions.py::test_sequential_optimization_shows_improvement
tests/integration/test_miprov2_descriptions.py::test_early_stopping_patience
tests/integration/test_miprov2_descriptions.py::test_auto_generate_prompts
tests/integration/test_miprov2_descriptions.py::test_optimizer_compatibility[miprov2zeroshot]
  /Users/davidberenstein/conductor/workspaces/dspydantic/kingston/.venv/lib/python3.12/site-packages/optuna/_experimental.py:32: ExperimentalWarning: Argument ``multivariate`` is an experimental feature. The interface can change in the future.
    warnings.warn(

tests/integration/test_miprov2_descriptions.py::test_transaction_descriptions_not_meta_instructions[miprov2zeroshot]
tests/integration/test_miprov2_descriptions.py::test_sequential_optimization_shows_improvement
tests/integration/test_miprov2_descriptions.py::test_auto_generate_prompts
  /Users/davidberenstein/conductor/workspaces/dspydantic/kingston/.venv/lib/python3.12/site-packages/pydantic/main.py:464: UserWarning: Pydantic serializer warnings:
    PydanticSerializationUnexpectedValue(Expected 10 fields but got 6: Expected `Message` - serialized value may not be as expected [field_name='message', input_value=Message(content='[[ ## ob...: None}, annotations=[]), input_type=Message])
    PydanticSerializationUnexpectedValue(Expected `StreamingChoices` - serialized value may not be as expected [field_name='choices', input_value=Choices(finish_reason='st...ider_specific_fields={}), input_type=Choices])
    return self.__pydantic_serializer__.to_python(

tests/integration/test_miprov2_descriptions.py::test_transaction_descriptions_not_meta_instructions[miprov2zeroshot]
tests/integration/test_miprov2_descriptions.py::test_sequential_optimization_shows_improvement
tests/integration/test_miprov2_descriptions.py::test_auto_generate_prompts
  /Users/davidberenstein/conductor/workspaces/dspydantic/kingston/.venv/lib/python3.12/site-packages/pydantic/main.py:464: UserWarning: Pydantic serializer warnings:
    PydanticSerializationUnexpectedValue(Expected 10 fields but got 6: Expected `Message` - serialized value may not be as expected [field_name='message', input_value=Message(content='[[ ## su...: None}, annotations=[]), input_type=Message])
    PydanticSerializationUnexpectedValue(Expected `StreamingChoices` - serialized value may not be as expected [field_name='choices', input_value=Choices(finish_reason='st...ider_specific_fields={}), input_type=Choices])
    return self.__pydantic_serializer__.to_python(

tests/integration/test_miprov2_descriptions.py::test_sequential_optimization_shows_improvement
  /Users/davidberenstein/conductor/workspaces/dspydantic/kingston/.venv/lib/python3.12/site-packages/pydantic/main.py:464: UserWarning: Pydantic serializer warnings:
    PydanticSerializationUnexpectedValue(Expected 10 fields but got 6: Expected `Message` - serialized value may not be as expected [field_name='message', input_value=Message(content="[[ ## ob...: None}, annotations=[]), input_type=Message])
    PydanticSerializationUnexpectedValue(Expected `StreamingChoices` - serialized value may not be as expected [field_name='choices', input_value=Choices(finish_reason='st...ider_specific_fields={}), input_type=Choices])
    return self.__pydantic_serializer__.to_python(

tests/integration/test_miprov2_descriptions.py::test_sequential_optimization_shows_improvement
tests/integration/test_miprov2_descriptions.py::test_auto_generate_prompts
  /Users/davidberenstein/conductor/workspaces/dspydantic/kingston/.venv/lib/python3.12/site-packages/pydantic/main.py:464: UserWarning: Pydantic serializer warnings:
    PydanticSerializationUnexpectedValue(Expected 10 fields but got 6: Expected `Message` - serialized value may not be as expected [field_name='message', input_value=Message(content="[[ ## re...: None}, annotations=[]), input_type=Message])
    PydanticSerializationUnexpectedValue(Expected `StreamingChoices` - serialized value may not be as expected [field_name='choices', input_value=Choices(finish_reason='st...ider_specific_fields={}), input_type=Choices])
    return self.__pydantic_serializer__.to_python(

tests/integration/test_miprov2_descriptions.py::test_sequential_optimization_shows_improvement
  /Users/davidberenstein/conductor/workspaces/dspydantic/kingston/.venv/lib/python3.12/site-packages/pydantic/main.py:464: UserWarning: Pydantic serializer warnings:
    PydanticSerializationUnexpectedValue(Expected 10 fields but got 6: Expected `Message` - serialized value may not be as expected [field_name='message', input_value=Message(content="[[ ## su...: None}, annotations=[]), input_type=Message])
    PydanticSerializationUnexpectedValue(Expected `StreamingChoices` - serialized value may not be as expected [field_name='choices', input_value=Choices(finish_reason='st...ider_specific_fields={}), input_type=Choices])
    return self.__pydantic_serializer__.to_python(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
= 9 passed, 52 warnings in 2734.78s (0:45:34) =