sangkyoonnam commented on issue #1253:
URL: https://github.com/apache/flink-agents/issues/1253#issuecomment-6187724259
@weiqingy are you planning to submit a PR for this? If not, I can take it.
I checked the Python side too. Neither the Azure nor the Anthropic
connection looks at map fields in `supports_native_structured_output`.
Anthropic renders the schema with the SDK's `transform_schema`, which turns a
`dict[str, int]` field into an object with `properties: {}` and
`additionalProperties: false`, so Python Anthropic drops the map silently, like
the Java connections. Azure uses `to_strict_json_schema` like OpenAI, so it
keeps `"additionalProperties": {"type": "integer"}`.
@wenjin272 if Weiqing would like me to take it, I'm happy to be assigned.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]