Clean Triple Backticks • AI Agent SDK
clean_triple_backticks: Remove triple backticks and surrounding json fences from a string.
clean_triple_backticks
Function
</div>
This function is defined in the main module.
Remove triple backticks and surrounding json fences from a string.
Signature
def clean_triple_backticks(text: str) -> strParameters
ParamField
strNo description available.
Returns
ResponseField
strThe result of the operation.
Used By
Source
View on GitHubpraisonaiagents/main.py at line 715