```json\n Gemini 2.5 flash

Noob here.
I just switched my ai agent from open ai to gemini 2.5 flash.
The out put has extra ```json\n prepended to the output.
How do I get rid of it please.
Thanks

Hey @kaustubh_shinde hope all is well. Welcome to the community.

To get rid of this, you can instruct AI Agent (in the System prompt) not to include language tags.

To give an example:

If I do not include the system message, and only ask for a json, it will have language tags and backticks.

Thanks you @jabbson . This solved the issue.