Clean Json Output • AI Agent SDK
clean_json_output: Clean JSON output while preserving the legacy team method.
clean_json_output
Method
</div>
This is a method of the AgentTeam class in the agents module.
Clean JSON output while preserving the legacy team method.
Signature
def clean_json_output(output: str) -> strParameters
ParamField
strNo description available.
Returns
ResponseField
strThe result of the operation.
Uses
clean_triple_backticks
Source
View on GitHubpraisonaiagents/agents/agents.py at line 1436