Failed to parse Response from completion {'properties': {'reasoning': {'title': 'Reasoning', 'description': 'Process Explanation', 'type': 'array', 'items': {'type': 'string'}}}}. Got: 2 validation errors for Response
reasoning
  field required (type=value_error.missing)
updated_files
  field required (type=value_error.missing)Traceback (most recent call last):
  File "/home/jason/Documents/src/github.com/konveyor-ecosystem/kai/env/lib64/python3.12/site-packages/langchain_core/output_parsers/pydantic.py", line 23, in parse_result
    return self.pydantic_object.parse_obj(json_object)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jason/Documents/src/github.com/konveyor-ecosystem/kai/env/lib64/python3.12/site-packages/pydantic/v1/main.py", line 526, in parse_obj
    return cls(**obj)
           ^^^^^^^^^^
  File "/home/jason/Documents/src/github.com/konveyor-ecosystem/kai/env/lib64/python3.12/site-packages/pydantic/v1/main.py", line 341, in __init__
    raise validation_error
pydantic.v1.error_wrappers.ValidationError: 2 validation errors for Response
reasoning
  field required (type=value_error.missing)
updated_files
  field required (type=value_error.missing)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/tmp/ipykernel_441045/3241394252.py", line 129, in <module>
    result = chain.invoke(template_args)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jason/Documents/src/github.com/konveyor-ecosystem/kai/env/lib64/python3.12/site-packages/langchain/chains/base.py", line 163, in invoke
    raise e
  File "/home/jason/Documents/src/github.com/konveyor-ecosystem/kai/env/lib64/python3.12/site-packages/langchain/chains/base.py", line 153, in invoke
    self._call(inputs, run_manager=run_manager)
  File "/home/jason/Documents/src/github.com/konveyor-ecosystem/kai/env/lib64/python3.12/site-packages/langchain/chains/llm.py", line 104, in _call
    return self.create_outputs(response)[0]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jason/Documents/src/github.com/konveyor-ecosystem/kai/env/lib64/python3.12/site-packages/langchain/chains/llm.py", line 261, in create_outputs
    self.output_key: self.output_parser.parse_result(generation),
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jason/Documents/src/github.com/konveyor-ecosystem/kai/env/lib64/python3.12/site-packages/langchain_core/output_parsers/pydantic.py", line 27, in parse_result
    raise OutputParserException(msg, llm_output=json_object)
langchain_core.exceptions.OutputParserException: Failed to parse Response from completion {'properties': {'reasoning': {'title': 'Reasoning', 'description': 'Process Explanation', 'type': 'array', 'items': {'type': 'string'}}}}. Got: 2 validation errors for Response
reasoning
  field required (type=value_error.missing)
updated_files
  field required (type=value_error.missing)
