Getting error in databricks agent response

ajaygshah
Contributor

I have selected a non-instruct model: databricks-qwen35-122b-a10b. Although the model doesn't matter. So when I type anything in the chat UI after deployment, the response is always along these lines:

{
  "detail": "1 validation error for ResponseOutputText\ntext\n  Input should be a valid string [type=string_type, input_value=[{'type': 'reasoning', 's...rprised you the most?\"}], input_type=list]\n    For further information visit https://errors.pydantic.dev/2.13/v/string_type"
}

 I tried changing the stream input/output cleaning. But this error is persistent. Is there any known behavior with the MlFlow library that is actually taking the output text and working on it?  Or is this a known behavior which is being actively worked on?