After successful init of an Ansible collection, subsequent analyze calls result in incomplete migration plans, missing all vars and tasks data.
/home/philipsd6/devel/x2a-convertor/.venv/lib/python3.13/site-packages/langchain_openai/chat_models/base.py:466: UserWarning: Invalid schema for OpenAI's structured output feature, which is the default method for `with_structured_output` as of langchain-openai==0.3. Specify `method="function_calling"` instead or update your schema. See supported schemas: https://platform.openai.com/docs/guides/structured-outputs#supported-schemas
warnings.warn(message)
ERROR:x2convertor.src.inputs.ansible.services: Failed to analyze roles/example/tasks/main.yml: Error code: 400 - {'error': {'message': "Invalid schema for response_format 'TaskFileExecutionAnalysis': In context=('properties', 'parameters'), 'additionalProperties' is required to be supplied and to be false.", 'type': 'invalid_request_error', 'param': 'response_format', 'code': None}}
ERROR:x2convertor.src.inputs.ansible.services: Failed to analyze roles/example/meta/main.yml: Error code: 400 - {'error': {'message': "Invalid schema for response_format 'MetaAnalysis': In context=('properties', 'dependencies', 'items'), 'additionalProperties' is required to be supplied and to be false.", 'type': 'invalid_request_error', 'param': 'response_format', 'code': None}}
This is while using Azure OpenAI v1 endpoint for my gpt-4o deployment.
After successful
initof an Ansible collection, subsequent analyze calls result in incomplete migration plans, missing all vars and tasks data.This is while using Azure OpenAI v1 endpoint for my gpt-4o deployment.