sumedh-aerram

Results comments of sumedh-aerram

Thanks @julienparenti. Since #8088 is already up, go ahead with it and I will drop mine. One case worth covering if it isn't already: an explicitly empty `servers: []` on...

Hi, I'd like to take this one. Plan: in `DynamoDBPersistenceLayer._item_to_data_record`, use the sort key value as `idempotency_key` when `sort_key_attr` is set. I'll add Stubber-based functional tests for the `response_hook` key...

Hi, I'd like to take this one. Plan: resolve the return annotation with `typing.get_type_hints` in `idempotent_function`, and guard `PydanticSerializer.instantiate` with `inspect.isclass` so a non-class annotation raises `IdempotencyModelTypeError` instead of `TypeError`....

Following up on my earlier claim: I have a fix with regression tests ready on my fork, waiting for assignment before opening the PR: https://github.com/sumedh-aerram/powertools-lambda-python/compare/develop...fix/idempotency-pydantic-serializer-future-annotations It resolves only the return...

Hi, I'd like to take this one. Plan: in `IdempotencyHandler._process`, delete the INPROGRESS record when `save_success` raises, then re-raise as `IdempotencyPersistenceLayerError`, mirroring the path where the function itself raises. I'll...

Thanks @surajksharma07, that works and it's simpler. #7925 now uses it: - Typed schemas get `"null"` added to their type. `enum` gets `None`, and `const` becomes an enum with `None`,...

@surajksharma07 I ran the live check against OpenAI strict mode (`gpt-4o-mini`, structured output with `strict: true`). I ran it on this PR's head and on unchanged `main`, through both `OpenAIResponsesLlm`...

Thanks @surajksharma07, both checks were worth it. The LiteLLM one found a real problem. 1. **`LiteLlm("gemini/...")`:** litellm 1.96.2's own Gemini transform turned `["string", "null"]` into `anyOf` without `nullable` and dropped...

Thanks @surajksharma07, good catch. Fixed in bfb80522f: `_is_litellm_gemini_model` now asks LiteLLM's own provider resolution when it's available and falls back to a prefix check covering `gemini/`, `vertex_ai/`, `vertex_ai_beta/` and their...

Thanks, I took the first option in b7edf2b91. Provider resolution now runs only when the model has an explicit provider prefix after proxy stripping. Bare Gemini IDs return False whether...