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

python
def clean_json_output(output: str) -> str

Parameters

ParamField str

No description available.

Returns

ResponseField str

The result of the operation.

Uses

  • clean_triple_backticks

Source

View on GitHub

praisonaiagents/agents/agents.py at line 1436


Related Documentation